summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e7a7d70)
It's a typo, if we don't have reads stored but writes, then the
global direction should naturally be TD_DDIR_WRITE.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
else if (reads && !writes)
td->o.td_ddir = TD_DDIR_READ;
else if (!reads && writes)
else if (reads && !writes)
td->o.td_ddir = TD_DDIR_READ;
else if (!reads && writes)
- td->o.td_ddir = TD_DDIR_READ;
+ td->o.td_ddir = TD_DDIR_WRITE;
else
td->o.td_ddir = TD_DDIR_RW;
else
td->o.td_ddir = TD_DDIR_RW;