Caused missing display of either read or write direction for a mixed
workload.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
max_bytes = td->this_io_bytes[ddir];
if (max_bytes >=
(td->o.size * td->o.rwmix[ddir] / 100)) {
max_bytes = td->this_io_bytes[ddir];
if (max_bytes >=
(td->o.size * td->o.rwmix[ddir] / 100)) {
- if (!td->rw_end_set[ddir])
+ if (!td->rw_end_set[ddir]) {
td->rw_end_set[ddir] = 1;
td->rw_end_set[ddir] = 1;
+ fio_gettime(&td->rw_end[ddir], NULL);
+ }