1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate cleanup: use dm_list_iterate_items 2013-04-25 17:33:24 +02:00
cache lvmetad: fix error paths 2013-04-21 23:04:53 +02:00
commands cleanup: improve messages 2013-04-23 12:27:33 +02:00
config config: fix bitfield for section 2013-05-03 15:42:44 +02:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device cleanup: add some FIXMEs 2013-04-21 23:14:05 +02:00
display thin: fix cut&paste bug 2013-04-21 23:07:00 +02:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters cleanup: improve messages 2013-04-23 12:27:33 +02:00
format1 format1: add workaround for vg_set_fid 2013-04-21 23:53:53 +02:00
format_pool vgread: fix fid transfer for lvm1 and pool format 2013-04-21 23:13:57 +02:00
format_text RAID: Add writemostly/writebehind support for RAID1 2013-04-15 13:59:46 -05:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
locking clmvd: fix responce status 2013-04-21 22:54:42 +02:00
log log: reenable abort 2013-04-02 15:16:04 +02:00
metadata report: improve reporting of active state 2013-05-03 15:43:52 +02:00
mirror config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01:00
misc cleanup: explicit check for nonnull pointer 2013-04-21 23:14:05 +02:00
mm config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01:00
raid RAID: Add writemostly/writebehind support for RAID1 2013-04-15 13:59:46 -05:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report report: show active state of LV 2013-04-25 17:33:24 +02:00
snapshot config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin config: refer to config nodes using assigned IDs 2013-03-06 10:14:33 +01:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00