mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
test: Also test repeated --cachesettings in lvchange-cache.
This commit is contained in:
parent
c75ae0846e
commit
71271cf905
@ -47,4 +47,14 @@ dmsetup status | grep $vg-corigin | grep 'migration_threshold 2048'
|
||||
dmsetup status | grep $vg-corigin | grep 'sequential_threshold 13'
|
||||
dmsetup status | grep $vg-corigin | grep 'random_threshold 4'
|
||||
|
||||
lvchange --cachesettings migration_threshold=233 --cachesettings sequential_threshold=13 --cachesettings random_threshold=1 $vg/corigin
|
||||
dmsetup status | grep $vg-corigin | grep 'migration_threshold 233 '
|
||||
dmsetup status | grep $vg-corigin | grep 'sequential_threshold 13 '
|
||||
dmsetup status | grep $vg-corigin | grep 'random_threshold 1 '
|
||||
|
||||
lvchange --cachesettings random_threshold=default --cachesettings migration_threshold=default $vg/corigin
|
||||
dmsetup status | grep $vg-corigin | grep 'migration_threshold 2048 '
|
||||
dmsetup status | grep $vg-corigin | grep 'sequential_threshold 13 '
|
||||
dmsetup status | grep $vg-corigin | grep 'random_threshold 4 '
|
||||
|
||||
vgremove -f $vg
|
||||
|
Loading…
x
Reference in New Issue
Block a user