From e1c325d25dd977c28c9489c542a51ee05dfc620e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 30 Nov 2017 21:48:12 -0700 Subject: [PATCH] io_u: don't account io issue blocks for verify backlog We don't account the bytes, we should not account the blocks either. Fixes: ae2fafc8 ("verify: verify bytes should not add to this_io_bytes") Signed-off-by: Jens Axboe --- io_u.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/io_u.c b/io_u.c index 6bb9eabf..44933a18 100644 --- a/io_u.c +++ b/io_u.c @@ -1977,11 +1977,12 @@ static void io_completed(struct thread_data *td, struct io_u **io_u_ptr, int ret; td->io_blocks[ddir]++; - td->this_io_blocks[ddir]++; td->io_bytes[ddir] += bytes; - if (!(io_u->flags & IO_U_F_VER_LIST)) + if (!(io_u->flags & IO_U_F_VER_LIST)) { + td->this_io_blocks[ddir]++; td->this_io_bytes[ddir] += bytes; + } if (ddir == DDIR_WRITE) file_log_write_comp(td, f, io_u->offset, bytes); -- 2.25.1