1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Zdenek Kabelac 4de6f58085 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-09-29 10:43:56 +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 integrity: report mismatches 2020-09-01 17:13:21 -05:00
properties.c thin: use lv_status_thin and lv_status_thin_pool 2020-09-29 10:43:56 +02:00
properties.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
report.c integrity: fix segfault reporting integrity for other lvs 2020-09-09 10:22:07 -05:00
report.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
values.h vdo: add lvs fields to query vdo volume properties 2019-10-04 17:31:55 +02:00