diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-19 13:30:55 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-19 14:38:36 +0100 |
commit | d1608345dffd912dd591d71a147c5acf587cf7fe (patch) | |
tree | 6243583b166f203ae934ae14d39356168c732395 | |
parent | 6f002c29a56d4e80ff7ebc9b8a5334c2599e663a (diff) | |
download | lvm2-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_NEW | 1 | ||||
-rw-r--r-- | tools/lvconvert.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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; |