1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/report
Zdenek Kabelac 0a82573416 thin: use lv_status_thin and lv_status_thin_pool
Introduce structures lv_status_thin_pool and
lv_status_thin  (pair to lv_status_cache, lv_status_vdo)

Convert lv_thin_percent() -> lv_thin_status()
and  lv_thin_pool_percent() + lv_thin_pool_transaction_id() ->
lv_thin_pool_status().

This way a function user can see not only percentages, but also
other important status info about thin-pool.

TODO:
This patch tries to not change too many other things,
but pool_below_threshold() now uses new thin-pool info to return
failure if thin-pool cannot be actually modified.
This should be handle separately in a better way.
2020-10-16 18:09:54 +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 vgs: add report field for shared 2018-05-31 10:23:03 -05:00
properties.c thin: use lv_status_thin and lv_status_thin_pool 2020-10-16 18:09:54 +02:00
properties.h doc: change fsf address 2016-01-21 12:11:37 +01:00
report.c gcc: drop bogus ; 2020-10-16 16:02:06 +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 vgs: add report field for shared 2018-05-31 10:23:03 -05:00