mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
tests: remove more test
Try to remove more tests before confusing older driver to death.
This commit is contained in:
parent
1891fa8272
commit
957480f4b9
@ -39,6 +39,10 @@ lvchange --cachepolicy mq --cachesettings migration_threshold=333 $vg/corigin
|
|||||||
check lv_field $vg/corigin kernel_cache_policy "mq"
|
check lv_field $vg/corigin kernel_cache_policy "mq"
|
||||||
get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333'
|
get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333'
|
||||||
|
|
||||||
|
# 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 --refresh $vg/corigin
|
lvchange --refresh $vg/corigin
|
||||||
get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333'
|
get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333'
|
||||||
lvchange -an $vg
|
lvchange -an $vg
|
||||||
@ -68,10 +72,6 @@ grep 'migration_threshold=2048' out
|
|||||||
grep 'sequential_threshold=13' out
|
grep 'sequential_threshold=13' out
|
||||||
grep 'random_threshold=4' 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
|
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
|
get lv_field $vg/corigin kernel_cache_settings | tee out
|
||||||
grep 'migration_threshold=233' out
|
grep 'migration_threshold=233' out
|
||||||
|
Loading…
Reference in New Issue
Block a user