projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve depth marking
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 77c45f7ff05e1bc40224d2c4a784efa42add0a1c..979ac28322fdff473b31dbda5a3240cced718324 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-226,10
+226,11
@@
int td_io_queue(struct thread_data *td, struct io_u *io_u)
if (io_u->ddir != DDIR_SYNC)
td->io_issues[io_u->ddir]++;
- io_u_mark_depth(td, io_u);
-
ret = td->io_ops->queue(td, io_u);
+ if (ret != FIO_Q_BUSY)
+ io_u_mark_depth(td, io_u);
+
if (ret == FIO_Q_QUEUED) {
int r;