1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/lib/report
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
..
columns-cmdlog.h report: add CMDLOG report type 2016-06-20 11:33:08 +02:00
columns-devtypes.h doc: change fsf address 2016-01-21 12:11:37 +01:00
columns.h cache: reporting cache metadata format 2017-03-10 19:33:01 +01:00
properties.c cache: reporting cache metadata format 2017-03-10 19:33:01 +01:00
properties.h doc: change fsf address 2016-01-21 12:11:37 +01:00
report.c raid: report percent with segtype info 2017-06-16 17:04:01 +02:00
report.h report: add report_reset_cmdlog_seqnum and call it for each new cmd executed in lvm shell 2016-08-09 18:49:11 +02:00
values.h pvs: new attr and field for unchosen duplicate device 2016-05-06 09:00:00 -05:00