projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
aa9f262
)
Merge branch 'fixes_1290' of https://github.com/rthardin/fio
author
Jens Axboe
<axboe@kernel.dk>
Tue, 19 Oct 2021 01:29:46 +0000
(19:29 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 19 Oct 2021 01:29:46 +0000
(19:29 -0600)
* 'fixes_1290' of https://github.com/rthardin/fio:
Use min_bs in rate_process=poisson
backend.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index 86fa6d41f860649e0f83c3aaf740ca9720e6c930..c167f908625f39fd8e344c9f75c705f7fd71adf4 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-837,7
+837,7
@@
static long long usec_for_io(struct thread_data *td, enum fio_ddir ddir)
if (td->o.rate_process == RATE_PROCESS_POISSON) {
uint64_t val, iops;
- iops = bps / td->o.bs[ddir];
+ iops = bps / td->o.
min_
bs[ddir];
val = (int64_t) (1000000 / iops) *
-logf(__rand_0_1(&td->poisson_state[ddir]));
if (val) {