mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-19 14:04:17 +03:00
00b610e542
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