1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

thin: improve lvconvert messages

Add more info into printed message.
This commit is contained in:
Zdenek Kabelac 2014-05-20 20:05:09 +02:00
parent d1d50d4023
commit 16424fed54

View File

@ -2570,7 +2570,9 @@ static int _lvconvert_thinpool_external(struct cmd_context *cmd,
goto deactivate_and_revert_new_lv;
}
log_print_unless_silent("Converted %s/%s to thin external origin.",
log_print_unless_silent("Converted \"%s/%s\" to thin volume with "
"external origin \"%s/%s\".",
vg->name, torigin_lv->name,
vg->name, external_lv->name);
return 1;
@ -2954,7 +2956,7 @@ mda_write:
goto out;
}
log_print_unless_silent("Converted %s/%s to %s pool.",
log_print_unless_silent("Converted \"%s/%s\" to %s pool.",
pool_lv->vg->name, pool_lv->name,
(segtype_is_cache_pool(lp->segtype)) ?
"cache" : "thin");