LVM2/lib/locking locking.h
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-05-19 01:49:09
Modified files:
lib/locking : locking.h
Log message:
Note that orphan lock is always obtained last
lib/locking/locking.h +2 -1
@@ -36,7 +36,8 @@* Set LCK_CACHE flag when manipulating 'vol' metadata in the internal cache. * (Like commit, revert or invalidate metadata.) * If more than one lock needs to be held simultaneously, they must be -* acquired in alphabetical order of 'vol' (to avoid deadlocks). +* acquired in alphabetical order of 'vol' (to avoid deadlocks), with +* VG_ORPHANS last. * * LCK_LV: * Lock/unlock an individual logical volume