master - thin: online metadata resize requires 1.10
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=22d9daff12b73e72f520ea70f416e1d3057ae740 Commit: 22d9daff12b73e72f520ea70f416e1d3057ae740 Parent: 899a079c8f36decd2fda42412091df57ab8f72cb Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jan 21 13:48:57 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jan 21 13:50:17 2014 +0100
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 deletions(-)
WHATS_NEW +1 -0
@@ -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 ====================================
lib/thin/thin.c +1 -1
@@ -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" ;