mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip some tests for older cache driver
Cache target 1.4 on f19 kernel shows error, skipping some tests...
This commit is contained in:
parent
6336b5dedf
commit
06a9dab730
@ -68,6 +68,10 @@ grep 'migration_threshold=2048' out
|
||||
grep 'sequential_threshold=13' out
|
||||
grep 'random_threshold=4' out
|
||||
|
||||
# Skip these test on older cache driver as it shows errors with these lvchanges
|
||||
# device-mapper: space map common: index_check failed: blocknr 17179869216 != wanted 11
|
||||
if aux have_cache 1 5 0 ; then
|
||||
|
||||
lvchange --cachesettings migration_threshold=233 --cachesettings sequential_threshold=13 --cachesettings random_threshold=1 $vg/corigin
|
||||
get lv_field $vg/corigin kernel_cache_settings | tee out
|
||||
grep 'migration_threshold=233' out
|
||||
@ -80,6 +84,8 @@ grep 'migration_threshold=2048' out
|
||||
grep 'sequential_threshold=13' out
|
||||
grep 'random_threshold=4' out
|
||||
|
||||
fi
|
||||
|
||||
else
|
||||
# When MQ is emulated by SMQ policy it does not hold settings.
|
||||
# So just skip testing of param changes when sequential_threshold=0
|
||||
|
Loading…
Reference in New Issue
Block a user