summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/clvmd-command.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-09-24 20:48:34 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-09-24 20:48:34 +0000
commita039e204e7263ba409218d4cc3fa407b12a111c1 (patch)
treee2b94b7e51e243e37d859f4ec9e8355b744e05ba /daemons/clvmd/clvmd-command.c
parente8ee29e9c183557e0f3df4691ee11167d1a8162f (diff)
downloadlvm2-a039e204e7263ba409218d4cc3fa407b12a111c1.tar.gz
lvm2-a039e204e7263ba409218d4cc3fa407b12a111c1.tar.xz
lvm2-a039e204e7263ba409218d4cc3fa407b12a111c1.zip
CLVMD bugfix support for args -S -E
Bugfix: Add (most probably unfinished) support for -E arg with list of exclusive locks. (During clvmd restart all exclusive locks would have been lost and in fact, if there would have been an exclusive lock, usage text would be printed and clvmd exits.) Instead of parsing list options multiple times every time some lock UUID is checked - put them straight into the hash table - make the code easier to understand as well. Remove was_ex_lock() function (replaced with dm_hash_lookup()). Swap return value for get_initial_state() (1 means success). Update man pages and usage info for -E option.
Diffstat (limited to 'daemons/clvmd/clvmd-command.c')
0 files changed, 0 insertions, 0 deletions