X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=8171b9ab7f4e08f3c60e53339401460bcac11a9c;hp=3955a819804290c37aee71aaf153333fb69d7ebc;hb=6c8611c79713fe73fddf7458ab3ab36feaeae67b;hpb=e07a8a2281c7a5a0ec4eb8e8e66601ca1f9f71bb;ds=inline diff --git a/fio.h b/fio.h index 3955a819..8171b9ab 100644 --- a/fio.h +++ b/fio.h @@ -100,6 +100,8 @@ enum { FIO_DEDUPE_OFF, FIO_RAND_POISSON_OFF, FIO_RAND_ZONE_OFF, + FIO_RAND_POISSON2_OFF, + FIO_RAND_POISSON3_OFF, FIO_RAND_NR_OFFS, }; @@ -281,8 +283,8 @@ struct thread_data { unsigned long rate_blocks[DDIR_RWDIR_CNT]; unsigned long long rate_io_issue_bytes[DDIR_RWDIR_CNT]; struct timeval lastrate[DDIR_RWDIR_CNT]; - int64_t last_usec; - struct frand_state poisson_state; + int64_t last_usec[DDIR_RWDIR_CNT]; + struct frand_state poisson_state[DDIR_RWDIR_CNT]; /* * Enforced rate submission/completion workqueue