From 22d9daff12b73e72f520ea70f416e1d3057ae740 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 21 Jan 2014 13:48:57 +0100 Subject: [PATCH] thin: online metadata resize requires 1.10 Version 1.10 starts to look promissing, let's enable online resize when this thin-pool kernel target is present. --- WHATS_NEW | 1 + lib/thin/thin.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 982f44daa..a5e58b5c5 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.106 - ==================================== + Online thin pool metadata resize requires 1.10 kernel thin pool target. Version 2.02.105 - 20th January 2014 ==================================== diff --git a/lib/thin/thin.c b/lib/thin/thin.c index ff263d9ce..6011d77c9 100644 --- a/lib/thin/thin.c +++ b/lib/thin/thin.c @@ -618,7 +618,7 @@ static int _thin_target_present(struct cmd_context *cmd, { 1, 1, THIN_FEATURE_EXTERNAL_ORIGIN, "external_origin" }, { 1, 4, THIN_FEATURE_BLOCK_SIZE, "block_size" }, { 1, 5, THIN_FEATURE_DISCARDS_NON_POWER_2, "discards_non_power_2" }, - { 9, 9, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" }, + { 1, 10, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" }, }; static const char _lvmconf[] = "global/thin_disabled_features";