From: Jens Axboe Date: Fri, 1 Dec 2017 03:24:54 +0000 (-0700) Subject: ioengine: don't account verify bytes X-Git-Tag: fio-3.3~32 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=a7d01f02a8a19dcd6e33a18aa225a3b099247a76 ioengine: don't account verify bytes If we do that, we can terminate early for a readwrite+verify backlog workload. Signed-off-by: Jens Axboe --- diff --git a/ioengines.c b/ioengines.c index 02eaee84..7951ff32 100644 --- a/ioengines.c +++ b/ioengines.c @@ -309,8 +309,10 @@ int td_io_queue(struct thread_data *td, struct io_u *io_u) } if (ddir_rw(ddir)) { - td->io_issues[ddir]++; - td->io_issue_bytes[ddir] += buflen; + if (!(io_u->flags & IO_U_F_VER_LIST)) { + td->io_issues[ddir]++; + td->io_issue_bytes[ddir] += buflen; + } td->rate_io_issue_bytes[ddir] += buflen; }