Reseed random generator for loop/time based runs
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 4077a5bed30647d9c0cc9ef8a135246b0eebca47..ff0068ca17290450307602f6b44585cab71b3e36 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -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