projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fio 2.0.14
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 6598881941ef41297ac9566b6d24701affdde0ef..1013c7fd0aeaa515b41cd2465272f0ecda4514ae 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-490,14
+490,14
@@
static enum fio_ddir rate_ddir(struct thread_data *td, enum fio_ddir ddir)
assert(ddir_rw(ddir));
assert(ddir_rw(ddir));
- if (td->rate_pending_usleep[ddir] <= 0
|| !td->o.rwmix[odir]
)
+ if (td->rate_pending_usleep[ddir] <= 0)
return ddir;
/*
* We have too much pending sleep in this direction. See if we
* should switch.
*/
return ddir;
/*
* We have too much pending sleep in this direction. See if we
* should switch.
*/
- if (td_rw(td)) {
+ if (td_rw(td)
&& td->o.rwmix[odir]
) {
/*
* Other direction does not have too much pending, switch
*/
/*
* Other direction does not have too much pending, switch
*/