summaryrefslogtreecommitdiff
path: root/tools/lvchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r--tools/lvchange.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c
index 8293f5035..56faf26cc 100644
--- a/tools/lvchange.c
+++ b/tools/lvchange.c
@@ -717,14 +717,6 @@ static int _lvchange_cache(struct cmd_context *cmd,
if (!get_cache_params(cmd, &chunk_size, &format, &mode, &name, &settings))
goto_out;
- if (seg_is_cache(seg) && lv_is_cache_vol(seg->pool_lv) && (mode == CACHE_MODE_WRITEBACK)) {
- log_warn("WARNING: repairing a damaged cachevol is not yet possible.");
- log_warn("WARNING: cache mode writethrough is suggested for safe operation.");
- if (!arg_count(cmd, yes_ARG) &&
- yes_no_prompt("Continue using writeback without repair?") == 'n')
- goto_out;
- }
-
if ((mode != CACHE_MODE_UNSELECTED) &&
(mode != setting_seg->cache_mode) &&
lv_is_cache(lv)) {