mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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"
|
||||
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
|
||||
#lvs -a -o name,cachemetadataformat,kernelmetadataformat,chunksize,cachepolicy,cachemode $vg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user