mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cache: fix warning test
The cache here is not 'writethough' - so print proper state (writeback or passthrough)
This commit is contained in:
parent
ac09fa08aa
commit
b140bba9fe
@ -2032,8 +2032,8 @@ static int _lvconvert_split_and_remove_cachepool(struct cmd_context *cmd,
|
|||||||
display_lvname(lv));
|
display_lvname(lv));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
log_warn("WARNING: Uncaching of partially missing writethrough cache volume %s might destroy your data.",
|
log_warn("WARNING: Uncaching of partially missing %s cache volume %s might destroy your data.",
|
||||||
display_lvname(lv));
|
cache_mode_num_to_str(first_seg(seg->pool_lv)->cache_mode), display_lvname(lv));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arg_count(cmd, yes_ARG) &&
|
if (!arg_count(cmd, yes_ARG) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user