blob: f746aa56982ef9e0dc349b95b0bcef93ef22233e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/usr/bin/env bash
. $(dirname $(readlink -e ${BASH_SOURCE[0]}))/bcache-test-libs.sh
# XXX possibly broken with 1 mb buckets
config-cache 2150MB
config-bucket-size 2M
#config-cache 2G
#config-bucket-size 512k
config-block-size 2k
config-volume 1800M
config-timeout $(stress_timeout)
test_main()
{
setup_tracing 'bcache:*'
setup_bcache
#existing_bcache
run_antagonist
run_bcache_stress
#run_fio
stop_bcache
}
main "$@"
|