From cb7d7abbab67e03c901bfaf9517e0cae40a548bf Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 10 Aug 2020 21:40:59 -0600 Subject: [PATCH] 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 --- io_u.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1