master - thin: metadata resize needs 1.9 version
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ea605d1ec72960cf8076fb0260dd151a32750ff6 Commit: ea605d1ec72960cf8076fb0260dd151a32750ff6 Parent: 7b58f104427911c4ef9a82a7726ccc62978e1cf5 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Jul 25 14:35:08 2013 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Jul 31 15:29:27 2013 +0200
thin: metadata resize needs 1.9 version
Version 1.8 is not yet fully usable for metadata resize.
--- WHATS_NEW | 1 + lib/thin/thin.c | 2 +- test/shell/lvresize-thin-metadata.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.100 - ================================ + Require 1.9 thin pool target version for online thin pool metadata resize. Ignore previous LV seg with alloc contiguous & cling when num stripes varies. Fix segfault if devices/global_filter is not specified correctly.
lib/thin/thin.c +1 -1
@@ -584,7 +584,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" }, - { 1, 8, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" }, + { 1, 9, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" }, };static const char _lvmconf[] ="global/thin_disabled_features" ;
test/shell/lvresize-thin-metadata.sh +1 -1
@@ -11,7 +11,7 @@ . lib/test -aux have_thin 1 8 0 || skip +aux have_thin 1 9 0 || skip aux prepare_pvs 3