1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Peter Rajnoha fc8fda6417 report: fix pe_start column type from NUM to SIZ
The 'pe_start' column was incorrectly marked as being of type NUM.
This was not correct as pe_start is actually of type SIZ, which means
it can have a size suffix and hence it's not a pure numeric value.

Proper column type is important for selection to work correctly, so we
can also do comparisons while using suffixes.

This is also important for new "json_std" output format which does not
put double quotes around pure numeric values. With pe_start incorrectly
marked as NUM instead of SIZ, this produced invalid JSON output
like '"pe_start" = 1.00m' because it contained the 'm' (or other)
size suffix. If properly marked as SIZ, this is then put in double
quotes like '"pe_start" = "1.00m"'.
2022-08-11 11:10:11 +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 report: fix pe_start column type from NUM to SIZ 2022-08-11 11:10:11 +02:00
properties.c writecache: display block size from lvs 2022-02-21 16:11:13 -06:00
properties.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
report.c writecache: display block size from lvs 2022-02-21 16:11:13 -06: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