]> sourceware.org Git - lvm2.git/commit
lvchange/lvconvert: fix missing lvmlockd LV locks
authorDavid Teigland <teigland@redhat.com>
Wed, 5 Apr 2017 20:05:32 +0000 (15:05 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 5 Apr 2017 21:46:38 +0000 (16:46 -0500)
commit7ccb4825c7c5f40e93afea065100105f3d5f3551
tree11ce8a102df2abf20738513cad79a30bb7ee5e02
parentc9bc1c1c8ccd624762b59a46689467573bc2933e
lvchange/lvconvert: fix missing lvmlockd LV locks

lvchange/lvconvert operations that do not require the LV
to already be active need to acquire a transient LV lock
before changing/converting the LV to ensure the LV is not
active on another host.  If the LV is already active,
a persistent LV lock already exists on the host and the
transient LV lock request is a no-op.

Some lvmlockd locks in lvchange were lost in the cmd def
changes.  The lvmlockd locks in lvconvert seem to have
been missed from the start.
tools/lvchange.c
tools/lvconvert.c
This page took 0.033305 seconds and 5 git commands to generate.