1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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 mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
cache lvmetad: Differentiate between filtered and truly missing devices. 2014-09-10 22:58:22 +01:00
cache_segtype cache: use get_cache_mode for validation 2014-07-17 16:16:45 +02:00
commands filters: fix incorrect filter indexing in composite filter array 2014-09-11 09:30:03 +02:00
config conf: add allocation/physical_extent_size config option for default PE size of VGs. 2014-09-12 10:09:21 +02:00
datastruct cleanup: consolidate lv_layout and lv_role reporting 2014-08-25 16:14:40 +02:00
device dev-cache: Filter wipe does not guarantee a full /dev scan. 2014-09-10 22:57:49 +01:00
display cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters cleanup: use just PATH_MAX size 2014-08-19 14:33:06 +02:00
format1 metadata: fix ALLOCATABLE_PV for lvm1 format 2014-07-11 12:24:15 +02:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
locking cleanup: avoid double assign 2014-08-19 14:33:06 +02:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
mirror mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
misc cleanup: avoid double assign 2014-08-19 14:33:06 +02:00
mm memlock: skip more entries 2014-06-20 11:13:41 +02:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid cleanup: drop duplicate const 2014-08-29 13:11:34 +02:00
replicator compilation: fix warnings: build_dm_uuid now accepts whole struct logical_volume, not lvid 2014-06-18 14:43:13 +02:00
report mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
snapshot cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
striped metadata: use outfc for comments 2014-07-17 16:17:44 +02:00
thin cleanup: drop duplicate const 2014-08-29 13:11:34 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in locking: Separate out flock and signal code. 2014-05-01 17:37:14 +01:00