summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-11-19 13:30:55 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2015-11-19 14:38:36 +0100
commitd1608345dffd912dd591d71a147c5acf587cf7fe (patch)
tree6243583b166f203ae934ae14d39356168c732395
parent6f002c29a56d4e80ff7ebc9b8a5334c2599e663a (diff)
downloadlvm2-d1608345dffd912dd591d71a147c5acf587cf7fe.tar.gz
cache: enable raid conversion for _cdata and _cmeta
Since thin-pool supports convertion of data and metadata LV, enable the same for cache data and metadata LV.
-rw-r--r--WHATS_NEW1
-rw-r--r--tools/lvconvert.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index d5a4a3ba6..0519527a9 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.135 -
====================================
+ Allow lvconvert cache pools' data and metadata LV to raid.
Fix reading of old metadata with missing cache policy or mode settings.
Issue error if external_device_info_source=udev and udev db record incomplete.
Fix passing of 32bit values through daemons (mostly lvmlockd).
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
index 3cfd915c8..19ee60754 100644
--- a/tools/lvconvert.c
+++ b/tools/lvconvert.c
@@ -199,6 +199,8 @@ static int _lvconvert_name_params(struct lvconvert_params *lp,
!arg_count(cmd, splitmirrors_ARG) &&
!strstr(lp->lv_name, "_tdata") &&
!strstr(lp->lv_name, "_tmeta") &&
+ !strstr(lp->lv_name, "_cdata") &&
+ !strstr(lp->lv_name, "_cmeta") &&
!apply_lvname_restrictions(lp->lv_name))
return_0;