1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac 2d3700ba42 report: improve reporting of active state
For reporting stacked or joined devices properly in cluster,
we need to report their activation state according the lock,
which activated this device tree.

This is getting a bit complex - current code tries simple approach -

For snapshot - return status for origin.
For thin pool - return status of the first known active thin volume.
For the rest of them - try to use dependency list of LVs and skip
known execptions.  This should be able to recursively deduce top level
device for given LV.

(in release fix)
2013-05-03 15:43:52 +02:00
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c snapshot: rework cluster creation and removal 2013-04-25 17:33:24 +02:00
lv.c report: improve reporting of active state 2013-05-03 15:43:52 +02:00
lv.h report: improve reporting of active state 2013-05-03 15:43:52 +02:00
merge.c thin: add support for external origin 2013-02-23 10:36:58 +01:00
metadata-exported.h RAID: Add writemostly/writebehind support for RAID1 2013-04-15 13:59:46 -05:00
metadata.c lvmetad: Check for reappeared PVs. 2013-04-03 12:48:28 +02:00
metadata.h lvmetad: Check for reappeared PVs. 2013-04-03 12:48:28 +02:00
mirror.c lv_manip: check remove_seg_from_segs_using_this_lv() 2013-04-21 23:10:43 +02:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01: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_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
pv.h pv_header_extension: add support for reading PV header extension (flags & Embedding Area) 2013-02-26 11:27:23 +01:00
raid_manip.c cleanup: drop unused assignment 2013-04-21 23:14:04 +02:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h cleanup: indent line 2013-04-02 15:17:05 +02:00
snapshot_manip.c snapshot: rework cluster creation and removal 2013-04-25 17:33:24 +02:00
thin_manip.c lv_manip: check remove_seg_from_segs_using_this_lv() 2013-04-21 23:10:43 +02:00
vg.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
vg.h Add free_orphan_vg 2012-02-13 11:03:59 +00:00