X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=backend.c;h=c167f908625f39fd8e344c9f75c705f7fd71adf4;hb=a7194b2d3d427e7e5678c55a128639df9caf4a48;hp=86fa6d41f860649e0f83c3aaf740ca9720e6c930;hpb=aa9f26276e1961fab2d33e188f5a2432360c9c14;p=fio.git diff --git a/backend.c b/backend.c index 86fa6d41..c167f908 100644 --- 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) {