1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2014-01-21 13:48:57 +01:00
parent 899a079c8f
commit 22d9daff12
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.106 - Version 2.02.106 -
==================================== ====================================
Online thin pool metadata resize requires 1.10 kernel thin pool target.
Version 2.02.105 - 20th January 2014 Version 2.02.105 - 20th January 2014
==================================== ====================================

View File

@ -618,7 +618,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" },
{ 9, 9, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" }, { 1, 10, THIN_FEATURE_METADATA_RESIZE, "metadata_resize" },
}; };
static const char _lvmconf[] = "global/thin_disabled_features"; static const char _lvmconf[] = "global/thin_disabled_features";