projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1d48450
)
ioengine: don't account verify bytes
author
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Dec 2017 03:24:54 +0000
(20:24 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Dec 2017 03:24:54 +0000
(20:24 -0700)
If we do that, we can terminate early for a readwrite+verify
backlog workload.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
ioengines.c
patch
|
blob
|
blame
|
history
diff --git
a/ioengines.c
b/ioengines.c
index 02eaee8484938d0e6310b1238e690ecda08dd3c6..7951ff32e25c3e5090ebbc212731c6e0e86648a4 100644
(file)
--- 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;
}