projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issue with rate_process=poisson and ramp time
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index 033d5a707f2a896f161eab84299e2b1bf6a23de0..180348f841267df45bb2c9d7852d3e70097545ba 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-892,6
+892,8
@@
static void handle_thinktime(struct thread_data *td, enum fio_ddir ddir)
over = (usperop - total) / usperop * -bs;
td->rate_io_issue_bytes[ddir] += (missed - over);
+ /* adjust for rate_process=poisson */
+ td->last_usec[ddir] += total;
}
}