io_u: don't account io issue blocks for verify backlog
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 6bb9eabf1cb281891d43cd820deb6c36b632e132..44933a185f7a780906e06edb3b0f422c28fe05e8 100644 (file)
--- 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);