projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backend: ensure that fio_io_sync() commits IN on queued status
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index fd8184917325af84ac74b50a8967c1ba507a026f..6083a51e7e5478557b1f7c4f79fb84363cde1bbc 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-309,6
+309,8
@@
requeue:
put_io_u(td, io_u);
return true;
} else if (ret == FIO_Q_QUEUED) {
+ if (td_io_commit(td))
+ return true;
if (io_u_queued_complete(td, 1) < 0)
return true;
} else if (ret == FIO_Q_COMPLETED) {