1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib
Zdenek Kabelac f7f395667e lvstatus: enhance seg_status to handle snapshot
Add more code to properly store status for snapshot segment
maintaining lvm2 fiction of COW and snapshot internal volumes.

The key issue here is however not though-through reporting
logic - as there is no single answer for whole line state.
It not counting with layer and we may need few more ioctl to
cover all reporting needs depending upon what is actually
needed.

In reality we need to 'cache' more ioctl status queries for
individual LVs and their segments (so they checked at most once).

The other 'hard' topic for conversion is mirror segment handling.

Also we definitelly need to relocate some logic into segment's methods,
yet it might be complex as we have not clear border between targets.

TODO: define more clearly how are reporting fields defined in case
we 'stack' volumes like   -   cache of stacked  thin LV snapshot origin.
2016-05-27 15:47:24 +02:00
..
activate lvstatus: enhance seg_status to handle snapshot 2016-05-27 15:47:24 +02:00
cache pvscan: use process_each_vg for autoactivate 2016-05-23 11:57:32 -05:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands liblvm: allow config settings to be read without full lvm cmd 2016-05-18 09:04:25 -05:00
config lvmcache: improve duplicate PV handling 2016-05-06 09:00:00 -05:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device device: Retry open without O_NOATIME if it fails. 2016-05-12 01:05:52 +01:00
display display: Avoid internal snapshot LV names in msgs. 2016-04-21 00:30:17 +01:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters dev-cache: also index VGIDs and LVIDs if using persistent .cache file 2016-03-30 11:00:01 +02:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_text raid0: Add raid0 segment type. 2016-05-23 16:46:38 +01:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label doc: change fsf address 2016-01-21 12:11:37 +01:00
locking cleanup: drop cmd and constify lv for lv_refresh_suspend_resume() 2016-05-27 15:47:24 +02:00
log cleanup: use unsigned with EPOCH printf format 2016-05-05 23:55:20 +02:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata refresh: call resume after failing suspend 2016-05-27 15:47:24 +02:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc debug: unify some tracing messages 2016-04-12 13:06:16 +02:00
mm doc: change fsf address 2016-01-21 12:11:37 +01:00
notify coverity: drop unused header file 2016-04-22 01:12:34 +02:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid0: Standardise meta_areas checks before access. 2016-05-23 22:55:13 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report cache: call status only on cache pool in use 2016-05-27 15:47:24 +02:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
thin Revert "thin: display highest mapped sector" 2016-04-01 20:09:38 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid doc: change fsf address 2016-01-21 12:11:37 +01:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in dbus: add notification from commands 2016-03-07 10:06:09 -06:00