1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/metadata
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
..
cache_manip.c lv_update_and_reload: replace code sequence 2014-09-09 19:20:09 +02:00
lv_alloc.h raid/misc: Allow creation of parallel areas by LV vs segment 2014-06-25 21:20:41 -05:00
lv_manip.c mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
lv.c mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
lv.h refactor: remove static modifier for lv_raid_image_in_sync and lv_raid_healthy fn 2014-07-04 15:40:17 +02:00
merge.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
metadata-exported.h mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
metadata.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
metadata.h report: Add lv_parent field. 2014-07-03 23:49:34 +01:00
mirror.c mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
pool_manip.c thin: check for active lv 2014-09-15 13:51:19 +02:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c misc: after releasing a PV segment, merge it with any adjacent free space 2014-06-25 22:04:58 -05:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h mirrors: Fix checks for mirror/raid/pvmove LVs. 2014-09-16 00:13:46 +01:00
snapshot_manip.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
thin_manip.c thin: fix volume_list support 2014-08-26 14:10:18 +02:00
vg.c lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00
vg.h lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00