1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha bc19a16fc7 report: report -1, not 'unkown' for lv_{snapshot_invalid,merge_failed} with --binary
State:
$ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0
  LV    ActLocal       SnapInvalid     MergeFailed
  lvol0 active locally         unknown         unknown

Now with using --binary switch.

Before this patch (lv_snapshot_invalid and lv_merge_failed not switched into numeric value
where -1 represents 'unknown' value)
$ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0 --binary
  LV    ActLocal   SnapInvalid     MergeFailed
  lvol0          1         unknown         unknown

With this patch applied:
$ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0 --binary
  LV    ActLocal   SnapInvalid     MergeFailed
  lvol0          1              -1              -1
2016-02-18 12:10:00 +01:00
..
activate debug: cut_and_paste type in message 2016-02-11 18:38:40 +01:00
cache lvmcache/lvmetad: cache PV extension version 2016-02-15 12:44:46 +01:00
cache_segtype doc: change fsf address 2016-01-21 12:11:37 +01:00
commands config: fix verbose type to int 2016-02-11 18:30:39 +01:00
config config: fix verbose type to int 2016-02-11 18:30:39 +01:00
datastruct doc: change fsf address 2016-01-21 12:11:37 +01:00
device filters: partitioned: fix partition table filter with external_device_info_source="udev" and blkid<2.20 2016-02-02 13:28:11 +01:00
display doc: change fsf address 2016-01-21 12:11:37 +01:00
error doc: change fsf address 2016-01-21 12:11:37 +01:00
filters filter: do not check for suspended devs in filter-usable in lvmetad mode 2016-02-03 14:57:36 +01:00
format1 lvmcache/lvmetad: cache PV extension version 2016-02-15 12:44:46 +01:00
format_pool lvmcache/lvmetad: cache PV extension version 2016-02-15 12:44:46 +01:00
format_text tests: fix tests checking pv_attr - there's a new bit now 2016-02-15 12:44:46 +01:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label doc: change fsf address 2016-01-21 12:11:37 +01:00
locking lvmlockd: remove noisy log_debug 2016-01-21 14:37:15 -06:00
log doc: change fsf address 2016-01-21 12:11:37 +01:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata metadata: add missing _repair_inconsinstent_vg call during PV ext repair 2016-02-17 10:19:55 +01:00
mirror doc: change fsf address 2016-01-21 12:11:37 +01:00
misc doc: change fsf address 2016-01-21 12:11:37 +01:00
mm doc: change fsf address 2016-01-21 12:11:37 +01:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid doc: change fsf address 2016-01-21 12:11:37 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report report: report -1, not 'unkown' for lv_{snapshot_invalid,merge_failed} with --binary 2016-02-18 12:10:00 +01:00
snapshot doc: change fsf address 2016-01-21 12:11:37 +01:00
striped doc: change fsf address 2016-01-21 12:11:37 +01:00
thin thin: fix low_water_mark threshold calc 2016-02-11 18:30:24 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid doc: change fsf address 2016-01-21 12:11:37 +01:00
zero doc: change fsf address 2016-01-21 12:11:37 +01:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00