projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4f54ad
)
Improve depth marking
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:56:26 +0000
(10:56 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:56:26 +0000
(10:56 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ioengines.c
patch
|
blob
|
blame
|
history
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]++;
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);
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;
if (ret == FIO_Q_QUEUED) {
int r;