Commit | Line | Data |
---|---|---|
c37183f8 VF |
1 | # randtrimwrite data direction tests |
2 | [global] | |
3 | filesize=1M | |
4 | ioengine=null | |
5 | rw=randtrimwrite | |
6 | log_offset=1 | |
7 | per_job_logs=0 | |
8 | randrepeat=0 | |
9 | stonewall | |
1fb78294 | 10 | write_bw_log |
c37183f8 VF |
11 | |
12 | # Expected result: trim issued to random offset followed by write to same offset | |
13 | # all offsets touched | |
14 | # block sizes match | |
15 | # Buggy result: something else | |
16 | [basic] | |
c37183f8 VF |
17 | |
18 | # Expected result: trim issued to random offset followed by write to same offset | |
19 | # all offsets trimmed | |
20 | # block sizes 8k for both write and trim | |
21 | # Buggy result: something else | |
22 | [bs] | |
c37183f8 VF |
23 | bs=4k,4k,8k |
24 | ||
25 | # Expected result: trim issued to random offset followed by write to same offset | |
26 | # all offsets trimmed | |
27 | # block sizes match | |
28 | # Buggy result: something else | |
29 | [bsrange] | |
c37183f8 VF |
30 | bsrange=512-4k |
31 | ||
32 | # Expected result: trim issued to random offset followed by write to same offset | |
33 | # all offsets trimmed | |
34 | # block sizes match | |
35 | # Buggy result: something else | |
36 | [bssplit] | |
c37183f8 VF |
37 | bsrange=512/25:1k:25:2k:25:4k/25 |
38 | ||
39 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
40 | # block sizes match |
41 | # Buggy result: something else | |
42 | [basic_no_rm] | |
c37183f8 VF |
43 | norandommap=1 |
44 | ||
45 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
46 | # block sizes 8k for both write and trim |
47 | # Buggy result: something else | |
48 | [bs_no_rm] | |
c37183f8 VF |
49 | bs=4k,4k,8k |
50 | norandommap=1 | |
51 | ||
52 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
53 | # block sizes match |
54 | # Buggy result: something else | |
55 | [bsrange_no_rm] | |
c37183f8 VF |
56 | bsrange=512-4k |
57 | norandommap=1 | |
58 | ||
59 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
60 | # block sizes match |
61 | # Buggy result: something else | |
62 | [bssplit_no_rm] | |
c37183f8 VF |
63 | bsrange=512/25:1k:25:2k:25:4k/25 |
64 | norandommap=1 |