1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Note that orphan lock is always obtained last

This commit is contained in:
Alasdair Kergon 2010-05-19 01:49:08 +00:00
parent fa305e2ec6
commit 8c965cafb7

View File

@ -36,7 +36,8 @@ int remote_lock_held(const char *vol);
* Set LCK_CACHE flag when manipulating 'vol' metadata in the internal cache. * Set LCK_CACHE flag when manipulating 'vol' metadata in the internal cache.
* (Like commit, revert or invalidate metadata.) * (Like commit, revert or invalidate metadata.)
* If more than one lock needs to be held simultaneously, they must be * 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: * LCK_LV:
* Lock/unlock an individual logical volume * Lock/unlock an individual logical volume