verify: fix verify issue with offest modifiers
authorAnkit Kumar <ankit.kumar@samsung.com>
Fri, 14 Feb 2025 19:48:34 +0000 (01:18 +0530)
committerVincent Fu <vincentfu@gmail.com>
Thu, 6 Mar 2025 18:58:43 +0000 (13:58 -0500)
commita10f36cf469bcc5ce56d227c8fe69cc41e0c9b92
tree62a2ab56c4db90914c5b2de06de9ae2fe213d697
parentc0bd027f0fd001d7b41dc7a3ccd302f06041f3c5
verify: fix verify issue with offest modifiers

Offset modifiers such as rw=readwrite:8 or rw=write:4K can create
overlaps. For these cases use RB tree instead of list to log the I/O
entries.

Add a helper function fio_offset_overlap_risk() to decide whether to log
the I/O entry in an RB tree or a list.

Disable header seed verification if there are offset modifiers, unless
its explicitly enabled.

fixes #1503

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
HOWTO.rst
fio.1
fio.h
init.c
iolog.c