1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
Alasdair G Kergon 979be63f25 mirrors: Fix checks for mirror/raid/pvmove LVs.
Try to enforce consistent macro usage along these lines:

lv_is_mirror - mirror that uses the original dm-raid1 implementation
               (segment type "mirror")
lv_is_mirror_type - also includes internal mirror image and log LVs

lv_is_raid - raid volume that uses the new dm-raid implementation
             (segment type "raid")
lv_is_raid_type - also includes internal raid image / log / metadata LVs

lv_is_mirrored - LV is mirrored using either kernel implementation
                 (excludes non-mirror modes like raid5 etc.)

lv_is_pvmove - internal pvmove volume
2014-09-16 00:13:46 +01:00
..
activate.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
activate.h report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
dev_manager.c mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
dev_manager.h report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
fs.c clean-up: Typo 's/should had/should have/' 2013-03-06 08:42:03 -06:00
fs.h Fix lv_info open_count test 2011-10-14 13:23:47 +00:00
targets.h Use UUIDs instead of names while processing event handlers. 2010-04-14 13:01:38 +00:00