1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
lvm2/lib/metadata
Zdenek Kabelac 59d646167f raid: report percent with segtype info
Enhance reporting code, so it does not need to do 'extra' ioctl to
get 'status' of normal raid and provide percentage directly.

When we have 'merging' snapshot into raid origin, we still need to get
this secondary number with extra status call - however, since  'raid'
is always a single segment LV - we may skip 'copy_percent' call as
we directly know the percent and also with better precision.

NOTE: for mirror we still base reported number on the percetage of
transferred extents which might get quite imprecisse if big size
of extent is used while volume itself is smaller as reporting jump
steps are much bigger the actual reported number provides.

2nd.NOTE: raid lvs line report already requires quite a few extra status
calls for the same device - but fix will be need slight code improval.
2017-06-16 17:04:01 +02:00
..
cache_manip.c cache: enable usage of --cachemetadataformat 2017-03-10 19:33:01 +01:00
lv_alloc.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
lv_manip.c mirror/raid: display adjusted region size with units 2017-04-20 20:42:21 +02:00
lv.c raid: report percent with segtype info 2017-06-16 17:04:01 +02:00
lv.h lv: introduce lvseg_percent_with_info_and_seg_status 2016-05-27 15:47:24 +02:00
merge.c Fix typo 2017-05-24 13:47:45 +02:00
metadata-exported.h raid: add reshape segtype flag support 2017-06-09 22:23:04 +02:00
metadata.c print warning about in-use orphans 2017-06-01 11:18:42 -05:00
metadata.h thin: enforce there is some free space in thin pool metadata 2016-09-19 14:00:56 +02:00
mirror.c mirror/raid: display adjusted region size with units 2017-04-20 20:42:21 +02:00
pool_manip.c cleanup: minor cosmetics 2017-03-10 19:33:01 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c pvresize: Missing a message on error path. 2017-04-27 15:00:41 +01:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h pv: add is_used_pv fn 2016-02-15 12:44:46 +01:00
raid_manip.c Revert "lvconvert: reject changing number of stripes on single core 2017-06-16 15:43:23 +02:00
replicator_manip.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
segtype.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
segtype.h lvconvert: linear -> raid1 upconvert should cause "recover" not "resync" 2017-06-14 08:35:22 -05:00
snapshot_manip.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c cleanup: update message 2017-06-09 21:49:19 +02:00
vg.c macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
vg.h lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00