X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=f5786ea69a1d5500d4cb9a73d24cf7e6a7f42b0a;hp=4077a5bed30647d9c0cc9ef8a135246b0eebca47;hb=a1ea676e7a0ffc73fa5384ddb189ced9edd4b0bf;hpb=eaf9b417e77b835886c3bb89ca0630dcec6d469f diff --git a/fio.h b/fio.h index 4077a5be..f5786ea6 100644 --- a/fio.h +++ b/fio.h @@ -432,8 +432,8 @@ struct thread_options { unsigned int ba[2]; unsigned int min_bs[2]; unsigned int max_bs[2]; - struct bssplit *bssplit; - unsigned int bssplit_nr; + struct bssplit *bssplit[2]; + unsigned int bssplit_nr[2]; unsigned int nr_files; unsigned int open_files; @@ -572,6 +572,8 @@ struct thread_data { char *sysfs_root; + unsigned long rand_seeds[6]; + os_random_state_t bsrange_state; os_random_state_t verify_state; @@ -854,6 +856,7 @@ extern int fio_show_option_help(const char *); extern void fio_options_dup_and_init(struct option *); extern void options_mem_dupe(struct thread_data *); extern void options_mem_free(struct thread_data *); +extern void td_fill_rand_seeds(struct thread_data *); #define FIO_GETOPT_JOB 0x89988998 #define FIO_NR_OPTIONS 128