[pve-devel] [PATCH v2 container 0/2] more locking fixes

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jan 19 13:47:22 CET 2016


Use lock_container / flock to prevent a race condition in start/stop/... and
don't hold flock unnecessarily long.

Changes compared to v1:
 lock_container now also wraps calls to RPC workers
 rebased on current master

Fabian Grünbichler (2):
  Use lock_container when checking locks
  Don't hold flock for whole backup operation

 src/PVE/API2/LXC/Status.pm | 130 +++++++++++++++++++++++++--------------------
 src/PVE/VZDump/LXC.pm      |  10 ++--
 2 files changed, 77 insertions(+), 63 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list