summaryrefslogtreecommitdiff
path: root/tests/bcache/backingdev.ktest
blob: e9c30aff2517d303c439366ea83e641e5dec716e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

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

config-cache 512M
config-backing 2G,2G
config-bucket-size 64k
config-block-size 4k
config-writeback

config-timeout $(stress_timeout)

test_main()
{
    setup_tracing 'bcache:*'

    setup_bcache
    echo "setup_bcache done"

    run_antagonist
    run_bcache_stress
    stop_bcache
}