summaryrefslogtreecommitdiff
path: root/tests/bcache/flash_dev_small_buckets.ktest
blob: 284a5e38a8b7c9c154156fe724fe493478e2d631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash

. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/bcache-test-libs.sh

config-cache 2G
config-bucket-size 8k
config-block-size 2k
config-volume 600M

config-timeout $(($(stress_timeout) * 2))

test_main()
{
    setup_tracing 'bcache:*'

    setup_bcache
    run_antagonist
    run_bcache_stress
    stop_bcache
}