master - lvmcache: change log_verbose to log_warn
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4103896ca02045d1ac13c788031a27e316b0c47a Commit: 4103896ca02045d1ac13c788031a27e316b0c47a Parent: d30105f4712d83c89da2e82bb6f5d22dd599a94d Author: David Teigland <[email protected]> AuthorDate: Thu Oct 15 16:35:40 2015 -0500 Committer: David Teigland <[email protected]> CommitterDate: Tue Nov 3 13:37:31 2015 -0600
lvmcache: change log_verbose to log_warn
Without this, some cases miss printing a
warning for duplicate PVs.
--- lib/cache/lvmcache.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
lib/cache/lvmcache.c +3 -3
@@ -1784,9 +1784,9 @@ struct lvmcache_info *lvmcache_add(struct labeller *labeller, const char *pvid,* been chosen during a previous populating of * lvmcache, so just use the existing preferences. */ -log_verbose ("Found duplicate PV %s: using existing dev %s" , - pvid_s, -dev_name (existing->dev)); +log_warn ("Found duplicate PV %s: using existing dev %s" , + pvid_s, +dev_name (existing->dev));return NULL ; }