Fix rate iops with ramp time
authorSEOKYOUNG KO <seokyoung.ko@samsung.com>
Thu, 7 Mar 2013 11:31:04 +0000 (12:31 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Mar 2013 11:31:04 +0000 (12:31 +0100)
commit5b3faae6f26beb2572ebeae7caf8cd7d693bb818
tree136061ebc3be193a7612be018648d81fae436bd5
parent111e032d60f2341cfe09accbfcf25ec81b9251e0
Fix rate iops with ramp time

When the ramp time is over, fio resets the ->io_issues[]
counters, but not the rwmix counters. This causes a problem
for mixed read/write workloads that are rate limited and
include a ramp time.

Fix it by resetting rwmix_issues with the regular issues.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
libfio.c