1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate config: {thin,cache}_{check,repair}_options are never undefined 2015-07-14 10:13:41 +02:00
cache lvmlockd: rescan lockd VG in two new cases 2015-08-27 10:27:24 -05:00
cache_segtype cleanup: indent 2015-08-12 14:33:16 +02:00
commands lvmlockd: rescan lockd VG in two new cases 2015-08-27 10:27:24 -05:00
config config: improve description text layout 2015-08-18 14:02:32 -05:00
datastruct datastruct: Add str_list_add_list. 2015-03-26 18:30:37 +00:00
device device: Don't try to close config file on failure. 2015-08-17 12:57:01 +01:00
display libdm: Add dm_size_to_string to libdevmapper. 2015-07-27 21:30:20 +01:00
error segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
filters filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used 2015-09-03 14:19:48 +02:00
format1 coverity: check vg->lvm1_system_id is not NULL before calling strncmp with that 2015-08-04 10:35:31 +02:00
format_pool cache: Store metadata size and checksum. 2015-03-18 23:43:02 +00:00
format_text Revert "lvmcache: check for too long pvid" 2015-08-18 15:22:13 +02:00
freeseg segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
label cleanup: trace error from lvmcache_update_vgname_and_id 2015-08-18 15:00:08 +02:00
locking lvmlockd: remove list of inactive lockspaces 2015-08-27 15:23:14 -05:00
log coverity: fix cppcheck warnings 2015-08-04 09:33:55 +02:00
lvmpolld lvmpolld: Fix segfault on 32 bit architectures 2015-07-10 16:16:57 +02:00
metadata cleanup: add . 2015-08-21 15:35:45 +02:00
mirror macros: Wrap PRI with FMT. 2015-07-06 15:09:17 +01:00
misc man: Add install_full_man makefile target. 2015-08-28 13:03:18 +01:00
mm config: use find_config_tree_array for all arrays 2015-07-15 10:52:23 +02:00
properties report: add support for time (basic) 2015-06-30 15:15:10 +02:00
raid cleanup: drop unused header file 2015-07-15 13:10:22 +02:00
replicator macros: Wrap PRI with FMT. 2015-07-06 15:09:17 +01:00
report cache: report cache pool attrs also for pools 2015-08-26 11:24:41 +02:00
snapshot segtype: add SEG_ONLY_EXCLUSIVE flag 2014-11-10 22:05:48 +01:00
striped segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
thin thin: restore transaction_id handling 2015-08-17 11:25:03 +02:00
unknown segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
uuid macros: Wrap PRI with FMT. 2015-07-06 15:09:17 +01:00
zero cleanup: remove unused headers 2014-11-13 17:49:42 +01:00
Makefile.in libdm: Add dm_timestamp functions. 2015-07-29 19:21:07 +01:00