]> sourceware.org Git - lvm2.git/commit
Remove unused clvm variations for active LVs
authorDavid Teigland <teigland@redhat.com>
Tue, 5 Jun 2018 18:21:28 +0000 (13:21 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 6 Jun 2018 18:58:34 +0000 (13:58 -0500)
commitc157c43f7cca085651fab13937ee11e526fe88cf
tree972d54da1e29b733383ee424380be100ffa02dd1
parenteb600292455b1b2b2e88db74e13b7db848701b92
Remove unused clvm variations for active LVs

Different flavors of activate_lv() and lv_is_active()
which are meaningful in a clustered VG can be eliminated
and replaced with whatever that flavor already falls back
to in a local VG.

e.g. lv_is_active_exclusive_locally() is distinct from
lv_is_active() in a clustered VG, but in a local VG they
are equivalent.  So, all instances of the variant are
replaced with the basic local equivalent.

For local VGs, the same behavior remains as before.
For shared VGs, lvmlockd was written with the explicit
requirement of local behavior from these functions
(lvmlockd requires locking_type 1), so the behavior
in shared VGs also remains the same.
21 files changed:
lib/activate/activate.c
lib/activate/activate.h
lib/locking/locking.c
lib/locking/locking.h
lib/metadata/cache_manip.c
lib/metadata/lv.c
lib/metadata/lv.h
lib/metadata/lv_manip.c
lib/metadata/mirror.c
lib/metadata/pool_manip.c
lib/metadata/raid_manip.c
lib/metadata/snapshot_manip.c
lib/metadata/thin_manip.c
lib/report/report.c
tools/lvchange.c
tools/lvconvert.c
tools/lvcreate.c
tools/polldaemon.c
tools/pvmove.c
tools/toollib.c
tools/vgchange.c
This page took 0.043263 seconds and 5 git commands to generate.