1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Peter Rajnoha 7bcb3fb02d report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or ""
Rename original lv_error_when_full field to lv_when_full and also
convert it from binary field to string field displaying three
possible values: "error", "queueu" or "" (blank for undefined).

$ lvs vg/pool vg/pool1 vg/linear_lv -o+lv_when_full
  LV        VG   Attr       LSize Data%  Meta%  WhenFull
  linear_lv vg   -wi-a----- 4.00m
  pool      vg   twi-aotz-- 4.00m 0.00   0.98   queue
  pool1     vg   twi-a-tz-- 4.00m 0.00   0.88   error

For -S|--select these synonyms are recognized:

"error" -> "error when full", "error if no space"
"queue" -> "queue when full", "queue if no space"
   ""   -> "undefined"
2015-01-21 10:50:32 +01:00
..
columns-devtypes.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00
columns.h report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00
properties.c report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00
properties.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
report.c report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00
report.h report: add separate LVSINFOSTATUS field type for info+status combined fields 2015-01-20 16:10:59 +01:00
values.h report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00