[pve-devel] [PATCH v2 container 0/2] Locking updates

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Mar 11 11:44:45 CET 2016


This patch series uses set_lock and remove_lock from
PVE::AbstractConfig instead of manually setting and
removing locks.

The second patch also reworks the locking logic for
snapshot mode backups using VZDump, to close an
existing time window between dropping the 'backup'
and setting the 'snapshot' lock.

Changes to v1: fix lock/unlock switch for snapshot
cleanup in second patch

Fabian Grünbichler (2):
  Use set_lock and remove_lock
  Prevent race conditions in snapshot mode backup

 src/PVE/CLI/pct.pm    |  6 +-----
 src/PVE/VZDump/LXC.pm | 39 ++++++++++++---------------------------
 2 files changed, 13 insertions(+), 32 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list