[PATCH 00/11] verify pattern interval
Vincent Fu <[email protected]>
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
This patch series adds the verify_pattern_interval option which refreshes and restarts the verify_pattern every N bytes. This is intended to be used when verify_pattern contains the %o format specifier in order to write each offset with its LBA. Doing this 512 bytes at a time for a large device is slow, so verify_pattern_interval allows fio to write this pattern in larger chunks. Patch 1 makes testing easier by adding a verify=pattern_hdr option. Patches 2-3 fix two bugs found while testing the new feature. Patch 4 directs fio to omit an inappropriate error message. Patches 5-7 improve testing. Patch 8 implements this new feature. Patches 9-11 add tests to verify the new feature. Vincent Fu (11): verify: add verify mode for a pattern with header verify: fix verify_offset when used with pattern_hdr verify: make verify_pattern=%o thread safe verify: omit verify type mismatch error message for pattern verify t/fiotestcommon: lengthen timeout for longer tests ci: for nightly verify tests use all checksum methods ci: don't skip verify tests when triggered manually verify: add verify_pattern_interval option t/verify: test cases for running pattern and pattern_hdr t/verify: Windows --output work-around t/verify: add tests to exercise verify_pattern_interval HOWTO.rst | 11 +++ cconv.c | 2 + ci/actions-full-test.sh | 9 ++- fio.1 | 10 +++ options.c | 16 ++++ server.h | 2 +- t/fiotestcommon.py | 2 +- t/verify.py | 123 ++++++++++++++++++++++++++++++- thread_options.h | 3 + verify.c | 158 ++++++++++++++++++++++++++++++++-------- 10 files changed, 295 insertions(+), 41 deletions(-) -- 2.47.2