Skip to contentSkip to conversation

stable-2.02 - tests: needs exclusive activation for conversion

PATCH Zdenek Kabelac 1 participant 1 message Oct 31, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8b741b3bbac6121f05caa455b31fed0983a30b64
Commit:        8b741b3bbac6121f05caa455b31fed0983a30b64
Parent:        5ee3d6dbdffc47467727d8c89fc91d84aa97189a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Oct 30 09:36:10 2019 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Oct 30 09:36:10 2019 +0100

tests: needs exclusive activation for conversion

For online convertion LVs must be activated localy exclusive as cache can only work for exclusive activation.

---
 test/shell/lvconvert-cache-thin.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvconvert-cache-thin.sh +2 -2
index 7dda6e6..ad4a03e 100644
@@ -54,8 +54,8 @@ lvs -a $vg
 lvremove -f $vg
 
 # Check conversion of cached LV works as thin-pool
-lvcreate -L10 -n $lv $vg
-lvcreate -L10 -n $lv1 $vg
+lvcreate -aey -L10 -n $lv $vg
+lvcreate -aey -L10 -n $lv1 $vg
 lvcreate -H -L10 $vg/$lv
 
 # Stack of cache over cache is unsupported ATM