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 | |
1fb78294 | 9 | write_bw_log |
c37183f8 VF |
10 | |
11 | # Expected result: trim issued to random offset followed by write to same offset | |
12 | # all offsets touched | |
13 | # block sizes match | |
14 | # Buggy result: something else | |
15 | [basic] | |
c37183f8 VF |
16 | |
17 | # Expected result: trim issued to random offset followed by write to same offset | |
18 | # all offsets trimmed | |
19 | # block sizes 8k for both write and trim | |
20 | # Buggy result: something else | |
21 | [bs] | |
9e83aa16 | 22 | bs=8k,8k,8k |
c37183f8 VF |
23 | |
24 | # Expected result: trim issued to random offset followed by write to same offset | |
25 | # all offsets trimmed | |
26 | # block sizes match | |
27 | # Buggy result: something else | |
28 | [bsrange] | |
c37183f8 VF |
29 | bsrange=512-4k |
30 | ||
31 | # Expected result: trim issued to random offset followed by write to same offset | |
32 | # all offsets trimmed | |
33 | # block sizes match | |
34 | # Buggy result: something else | |
35 | [bssplit] | |
c37183f8 VF |
36 | bsrange=512/25:1k:25:2k:25:4k/25 |
37 | ||
38 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
39 | # block sizes match |
40 | # Buggy result: something else | |
41 | [basic_no_rm] | |
c37183f8 VF |
42 | norandommap=1 |
43 | ||
44 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
45 | # block sizes 8k for both write and trim |
46 | # Buggy result: something else | |
47 | [bs_no_rm] | |
c37183f8 VF |
48 | bs=4k,4k,8k |
49 | norandommap=1 | |
50 | ||
51 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
52 | # block sizes match |
53 | # Buggy result: something else | |
54 | [bsrange_no_rm] | |
c37183f8 VF |
55 | bsrange=512-4k |
56 | norandommap=1 | |
57 | ||
58 | # Expected result: trim issued to random offset followed by write to same offset | |
c37183f8 VF |
59 | # block sizes match |
60 | # Buggy result: something else | |
61 | [bssplit_no_rm] | |
c37183f8 VF |
62 | bsrange=512/25:1k:25:2k:25:4k/25 |
63 | norandommap=1 |