mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip test part when missed in kernel
This commit is contained in:
parent
b36fce26a2
commit
208af8db2a
@ -62,10 +62,12 @@ EOF
|
||||
aux prepare_vg 2 1000000
|
||||
|
||||
# Check writecache read data from profile
|
||||
if aux have_writecache 1 0 0 ; then
|
||||
lvcreate -n $lv1 -l 4 -an $vg "$dev1"
|
||||
lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
|
||||
check lv_field $vg/$lv2 cachesettings "high_watermark=60"
|
||||
lvremove -y $vg
|
||||
fi
|
||||
|
||||
# Check chunk_size is grabbed from configuration
|
||||
lvcreate -L1G --config 'allocation/cache_pool_chunk_size=512' --type cache-pool $vg/cpool
|
||||
|
Loading…
Reference in New Issue
Block a user