1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00
Peter Rajnoha 00b610e542 filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used
Print [source:handler] in filters' debug messages only if external
device info source other than "none" is used.

$ lvmconfig --type full devices/external_device_info_source
external_device_info_source="none

Before this patch (from the -vvvv log):

filters/filter-usable.c:47         /dev/mapper/test: Skipping: Too small to hold a PV [none:(nil)]
filters/filter-md.c:33         /dev/sdb: Skipping md component device [none:(nil)]
filters/filter-partitioned.c:25         /dev/vda: Skipping: Partition table signature found [none:(nil)]

With this patch applied:

filters/filter-usable.c:44         /dev/mapper/test: Skipping: Too small to hold a PV
filters/filter-md.c:35         /dev/sdb: Skipping md component device
filters/filter-partitioned.c:27         /dev/vda: Skipping: Partition table signature found
2015-09-03 14:19:48 +02:00
..
2015-08-12 14:33:16 +02:00
2014-10-30 23:58:49 +01:00
2014-10-30 23:58:49 +01:00
2015-08-04 09:33:55 +02:00
2015-08-21 15:35:45 +02:00
2015-07-06 15:09:17 +01:00
2015-07-15 13:10:22 +02:00
2015-07-06 15:09:17 +01:00
2014-10-30 23:58:49 +01:00
2014-10-30 23:58:49 +01:00
2015-07-06 15:09:17 +01:00
2014-11-13 17:49:42 +01:00
2015-07-29 19:21:07 +01:00