iolog: fix potential oops in iolog disabling
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 20ff26fcac6dd3c8e606e6356bce915b2ad3d17f..7e6311c8899e0403f8f7d1e93f0029a4540e7aeb 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -79,6 +79,7 @@ enum {
        TD_F_NEED_LOCK          = 1U << 11,
        TD_F_CHILD              = 1U << 12,
        TD_F_NO_PROGRESS        = 1U << 13,
+       TD_F_REGROW_LOGS        = 1U << 14,
 };
 
 enum {
@@ -170,6 +171,15 @@ struct thread_data {
                unsigned int next_file;
                struct frand_state next_file_state;
        };
+       union {
+               struct zipf_state next_file_zipf;
+               struct gauss_state next_file_gauss;
+       };
+       union {
+               double zipf_theta;
+               double pareto_h;
+               double gauss_dev;
+       };
        int error;
        int sig;
        int done;
@@ -732,8 +742,4 @@ enum {
 extern void exec_trigger(const char *);
 extern void check_trigger_file(void);
 
-extern void helper_reset(void);
-extern void helper_do_stat(void);
-extern bool helper_should_exit(void);
-
 #endif