[pve-devel] [PATCH cluster v4 0/4] REBASED: cfs_lock: improve alarm race and lock cleanup

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 9 09:47:23 CET 2017


Rebased as `git am` is (rightfully) more stupid than `git rebase` so v3
of 3/4 did not apply with v4 of 1/4.
Sneaked in a removal of the now unused $msg variable into 3/4 and
removed the "print STDERR 'OK'" from 1/4, as it was really confusing
when using a CLI command which changed and thus locked a config, where
we would then always get an OK printed out, even if the command failed.

Thomas Lamprecht (4):
  cfs_lock: address race where alarm triggers with lock accquired
  cfs_lock: swap checks for specific errors with $got_lock
  cfs_lock: always include lockid in error
  cfs_lock: save and restore outer alarm

 data/PVE/Cluster.pm | 46 +++++++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list