diff options
author | jenkins <sms@daterainc.com> | 2015-01-15 13:24:40 -0800 |
---|---|---|
committer | jenkins <sms@daterainc.com> | 2015-01-15 13:24:40 -0800 |
commit | 6981aba4cbcd625ecd0f847a3a0d0f58ce987538 (patch) | |
tree | 40a7171a2b0d4db4b90bf28753d1a37751b51c2c /tests/bcache | |
parent | 85c13a55877f80f45a53a33d6c7e09f53d3843ab (diff) | |
parent | d6838cf93529cb4f32e992e5b9cc7ac0cc4f008d (diff) |
Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2013.KERNEL/ktest
Issue DAT-
Diffstat (limited to 'tests/bcache')
-rwxr-xr-x | tests/bcache/bcache_journal_stress.ktest | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/bcache/bcache_journal_stress.ktest b/tests/bcache/bcache_journal_stress.ktest index 394d3e0..63cec72 100755 --- a/tests/bcache/bcache_journal_stress.ktest +++ b/tests/bcache/bcache_journal_stress.ktest @@ -8,7 +8,6 @@ config-tier 256M,256M,256M,256M,256M,256M,256M,256M,256M,256M config-bucket-size 64k config-block-size 4k config-volume 1900M -config-bcache-sysfs journal_delay_ms 0 config-bcache-sysfs btree_flush_delay 0 config-timeout $(stress_timeout) @@ -19,6 +18,18 @@ main() setup_bcache test_antagonist + + ( + while true; do + # Lots of small journal entries + echo 0 > /sys/fs/bcache/*/internal/journal_delay_ms + sleep 5 + # Let the journal entries fill up + echo 10000 > /sys/fs/bcache/*/internal/journal_delay_ms + sleep 5 + done + ) & + test_stress stop_volumes test_bcachefs_stress |