Recent changes (master)
The following changes since commit 395feabb53806d5cff2e0b73b6c94048f05b5aae:
io_u: rate cleanup and spelling error (2017-12-06 12:30:20 -0700)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 1aa39b0ce447f228460e6d0af601fee88fd5f4b4:
rate: ensure IO issue restarts right after sleep (2017-12-07 09:06:04 -0700)
----------------------------------------------------------------
Jens Axboe (1):
rate: ensure IO issue restarts right after sleep
backend.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
---
Diff of recent changes:
backend.c +5 -2
@@ -894,10 +894,13 @@ static void handle_thinktime(struct thread_data *td, enum fio_ddir ddir)/* * If we're ignoring thinktime for the rate, add the number of bytes -* we would have done while sleeping. +* we would have done while sleeping, minus one block to ensure we +* start issuing immediately after the sleep. */ -if (total && td->rate_bps[ddir] && td->o.rate_ign_think) +if (total && td->rate_bps[ddir] && td->o.rate_ign_think) { td->rate_io_issue_bytes[ddir] += (td->rate_bps[ddir] *1000000 ) / total; + td->rate_io_issue_bytes[ddir] -= td->o.min_bs[ddir]; + } }/*