Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Oct 19, 2021

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit aa9f26276e1961fab2d33e188f5a2432360c9c14:

run-fio-tests: make test runs more resilient (2021-10-17 07:22:55 -0600)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to a7194b2d3d427e7e5678c55a128639df9caf4a48:

Merge branch 'fixes_1290' of https://github.com/rthardin/fio (2021-10-18 19:29:46 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'fixes_1290' of https://github.com/rthardin/fio

Ryan Hardin (1):
Use min_bs in rate_process=poisson

 backend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

backend.c +1 -1
index 86fa6d41..c167f908 100644
@@ -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) {