mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: check policy mq can be used with format2
This commit is contained in:
parent
d131024255
commit
54668feaab
@ -88,6 +88,12 @@ lvcreate -H -L10 -n $lv1 --cachepool $vg/cpool
|
|||||||
check lv_field $vg/$lv1 cachemetadataformat "2"
|
check lv_field $vg/$lv1 cachemetadataformat "2"
|
||||||
lvremove -f $vg
|
lvremove -f $vg
|
||||||
|
|
||||||
|
lvcreate --type cache-pool --cachepolicy mq --cachemetadataformat 1 -L1 $vg/cpool
|
||||||
|
check lv_field $vg/cpool cachemetadataformat "1"
|
||||||
|
lvcreate -H -L10 -n $lv1 --cachemetadataformat 2 --cachepool $vg/cpool
|
||||||
|
check lv_field $vg/$lv1 cachemetadataformat "2"
|
||||||
|
lvremove -f $vg
|
||||||
|
|
||||||
fi
|
fi
|
||||||
#lvs -a -o name,cachemetadataformat,kernelmetadataformat,chunksize,cachepolicy,cachemode $vg
|
#lvs -a -o name,cachemetadataformat,kernelmetadataformat,chunksize,cachepolicy,cachemode $vg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user