From: Jens Axboe Date: Tue, 11 Aug 2020 03:40:59 +0000 (-0600) Subject: io_u: set io_u->verify_offset in fill_io_u() X-Git-Tag: fio-3.22~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cb7d7abbab67e03c901bfaf9517e0cae40a548bf;p=fio.git io_u: set io_u->verify_offset in fill_io_u() This is arguably saner than the previous fix, since it also catches cases where io_u->offset is adjusted later on. Hopefully that's it... Fixes: 4fff54ccba73 ("verify: use origina offset for verification") Signed-off-by: Jens Axboe --- diff --git a/io_u.c b/io_u.c index d54cf2fb..dbb0a6f8 100644 --- a/io_u.c +++ b/io_u.c @@ -966,6 +966,7 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u) out: dprint_io_u(io_u, "fill"); + io_u->verify_offset = io_u->offset; td->zone_bytes += io_u->buflen; return 0; }