1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

thin: metadata resize needs 1.9 version

Version 1.8 is not yet fully usable for metadata resize.
This commit is contained in:
Zdenek Kabelac 2013-07-25 14:35:08 +02:00
parent 7b58f10442
commit ea605d1ec7
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.100 - 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. Ignore previous LV seg with alloc contiguous & cling when num stripes varies.
Fix segfault if devices/global_filter is not specified correctly. Fix segfault if devices/global_filter is not specified correctly.

View File

@ -584,7 +584,7 @@ static int _thin_target_present(struct cmd_context *cmd,
{ 1, 1, THIN_FEATURE_EXTERNAL_ORIGIN, "external_origin" }, { 1, 1, THIN_FEATURE_EXTERNAL_ORIGIN, "external_origin" },
{ 1, 4, THIN_FEATURE_BLOCK_SIZE, "block_size" }, { 1, 4, THIN_FEATURE_BLOCK_SIZE, "block_size" },
{ 1, 5, THIN_FEATURE_DISCARDS_NON_POWER_2, "discards_non_power_2" }, { 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"; static const char _lvmconf[] = "global/thin_disabled_features";

View File

@ -11,7 +11,7 @@
. lib/test . lib/test
aux have_thin 1 8 0 || skip aux have_thin 1 9 0 || skip
aux prepare_pvs 3 aux prepare_pvs 3