Skip to contentSkip to conversation

master - debug: change message severity

PATCH Zdenek Kabelac 1 participant 1 message Feb 28, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6ba94fdd816a70f084ea86ec0a3ff2243daae158
Commit:        6ba94fdd816a70f084ea86ec0a3ff2243daae158
Parent:        cc4855acbe98cea36228afeeaa6ce7f800459308
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Feb 21 14:08:17 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Feb 28 21:15:55 2018 +0100

debug: change message severity

Although it's internal issue - in this case command continue without any reported error - thus hide this internal error into debug.

---
 lib/metadata/cache_manip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/cache_manip.c +1 -1
index 97a3339..c46266b 100644
@@ -540,7 +540,7 @@ int lv_cache_remove(struct logical_volume *cache_lv)
 	}
 
 	if (lv_is_pending_delete(cache_lv)) {
-		log_error(INTERNAL_ERROR "LV %s is already dropped cache volume.",
+		log_debug(INTERNAL_ERROR "LV %s is already dropped cache volume.",
 			  display_lvname(cache_lv));
 		goto remove;  /* Already dropped */
 	}