Files
Gleb Chesnokov e69138598e tests: Verify local and iSCSI I/O with fio
Run one fio profile with concurrent 4K, 64K and 128K jobs in disjoint
regions. Cover buffered fileio with 512-byte sectors and direct blockio
with 4K sectors. Verify CRC32C data and completed byte counts, and follow
buffered I/O with direct verification to bypass the initiator page cache.

Reuse the SCSI fixtures and exported-device checks for both transports.
Require an explicit target block device and check its use and signatures
before exporting it. Configure the per-job region size and I/O timeout,
and retain rendered job files, JSON reports and stderr.

Cover job rendering and report validation with framework tests. Document
fio prerequisites, destructive scope and label selection through the
common Make targets.
2026-10-13 12:42:36 +03:00

39 lines
559 B
Plaintext

; SPDX-License-Identifier: GPL-2.0-only
; Each job owns one disjoint region. Rendered copies are kept in run artifacts.
[global]
filename=@DEVICE@
ioengine=io_uring
force_async=1
direct=@DIRECT@
size=@REGION@
allow_file_create=0
invalidate=1
end_fsync=1
verify=crc32c
verify_fatal=1
verify_state_save=0
verify_only=@VERIFY_ONLY@
randrepeat=1
exitall_on_error=1
[small]
rw=randwrite
bs=4k
iodepth=32
offset=0
randseed=101
[medium]
rw=randwrite
bs=64k
iodepth=16
offset=@OFFSET1@
randseed=202
[large]
rw=write
bs=128k
iodepth=1
offset=@OFFSET2@
randseed=303