Commit
9602d8df had a bug where it mistakenly stored
the bytes last seen when doing an IOPS log entry, instead
of the blocks last seen.
Reported-by: Bill Hooper <whooper@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
if (td->iops_log)
add_log_sample(td, td->iops_log, iops, ddir, 0);
- td->stat_io_bytes[ddir] = td->this_io_bytes[ddir];
+ td->stat_io_blocks[ddir] = td->this_io_blocks[ddir];
}
fio_gettime(&td->iops_sample_time, NULL);