1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-29 15:22:30 +03:00
lvm2/lib/report
Peter Rajnoha 81839cc4eb report: report numeric values (not string synonyms) for NUM and BIN fields with json_std format
Internally, NUM and BIN fields are marked as DM_REPORT_FIELD_TYPE_NUM_NUMBER
through libdevmapper API. The new 'json_std' format mandates that the report
string representing such a value must be a number, not an arbitrary string.
This is because numeric values in 'json_std' format do not have double quotes
around them. This practically means, we can't use string synonyms
("named reserved values") for such values and the report string must always
represent a proper number.

With 'json' and 'basic' formats, this is not an issue because 'basic' format
doesn't have any structure or typing at all and 'json' format puts all values
in quotes, including numeric ones.
2022-08-16 13:42:50 +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 report: report numeric values (not string synonyms) for NUM and BIN fields with json_std format 2022-08-16 13:42:50 +02: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