| 1 | # trimwrite data direction tests |
| 2 | [global] |
| 3 | filesize=1M |
| 4 | ioengine=null |
| 5 | rw=trimwrite |
| 6 | log_offset=1 |
| 7 | per_job_logs=0 |
| 8 | randrepeat=0 |
| 9 | write_bw_log |
| 10 | |
| 11 | # Expected result: trim issued to sequential offsets followed by write to same offset |
| 12 | # all offsets touched |
| 13 | # block sizes match |
| 14 | # Buggy result: something else |
| 15 | [basic] |
| 16 | |
| 17 | # Expected result: trim issued to sequential offsets 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] |
| 22 | bs=8k,8k,8k |
| 23 | |
| 24 | # Expected result: trim issued to sequential offsets followed by write to same offset |
| 25 | # all offsets trimmed |
| 26 | # block sizes match |
| 27 | # Buggy result: something else |
| 28 | [bsrange] |
| 29 | bsrange=512-4k |
| 30 | |
| 31 | # Expected result: trim issued to sequential offsets followed by write to same offset |
| 32 | # all offsets trimmed |
| 33 | # block sizes match |
| 34 | # Buggy result: something else |
| 35 | [bssplit] |
| 36 | bsrange=512/25:1k:25:2k:25:4k/25 |