1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Peter Rajnoha da9da0d8c2 report: properly set "undefined" reserved value for cache_policy field
Use helper macros to handle reserved values and also define "undefined"
reserved value as:

FIELD_RESERVED_VALUE(cache_policy, cache_policy_undef, "", "", "undefined")

Which means:

 - print "" if the cache_policy value is undefined (the first name for this reserved value is "")
 - recognize "undefined" reserved name as synonym to ""
   (so statements like "lvs -S cache_policy=undefined" are still recognized)
2014-12-18 15:21:21 +01:00
..
columns-devtypes.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00
columns.h report: Add cache_policy and cache_settings (LV) segment fields. 2014-12-17 14:43:12 +01:00
properties.c report: Add cache_policy and cache_settings (LV) segment fields. 2014-12-17 14:43:12 +01:00
properties.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
report.c report: properly set "undefined" reserved value for cache_policy field 2014-12-18 15:21:21 +01:00
report.h report: add new LVSSTATUS and SEGSSTATUS report type 2014-11-11 08:53:28 +01:00
values.h report: properly set "undefined" reserved value for cache_policy field 2014-12-18 15:21:21 +01:00