From 23948e99b3d723f09456f75c93655817f87f1a82 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 5 Nov 2018 16:10:49 -0600 Subject: [PATCH] cache: improve error message about flush --- lib/metadata/cache_manip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/metadata/cache_manip.c b/lib/metadata/cache_manip.c index 6b87873ee..66f759fd4 100644 --- a/lib/metadata/cache_manip.c +++ b/lib/metadata/cache_manip.c @@ -608,8 +608,7 @@ int lv_cache_remove(struct logical_volume *cache_lv) cache_lv->status |= LV_TEMPORARY; if (!activate_lv(cache_lv->vg->cmd, cache_lv) || !lv_is_active(cache_lv)) { - log_error("Failed to active cache locally %s.", - display_lvname(cache_lv)); + log_error("Failed to activate %s to flush cache.", display_lvname(cache_lv)); return 0; } cache_lv->status &= ~LV_TEMPORARY; -- 2.43.5