projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://github.com/iuliur/fio
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index e87c5f86aed25e4547c0876452efd9b46335ba52..1dcdcf049026db4f1ae33d04284ade793b76d77f 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-442,7
+442,7
@@
static int wait_for_completions(struct thread_data *td, struct timeval *time)
* if the queue is full, we MUST reap at least 1 event
*/
min_evts = min(td->o.iodepth_batch_complete, td->cur_depth);
* if the queue is full, we MUST reap at least 1 event
*/
min_evts = min(td->o.iodepth_batch_complete, td->cur_depth);
-
if (full && !min_evts
)
+
if ((full && !min_evts) || !td->o.iodepth_batch_complete
)
min_evts = 1;
if (time && (__should_check_rate(td, DDIR_READ) ||
min_evts = 1;
if (time && (__should_check_rate(td, DDIR_READ) ||