[PATCH] Add support for specifying read/write mix workloads better
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 4f87fb775f01f161e96ccc25283825ef9989bc33..dbf476e94a4dc5099753eb3bf9c7b5acc629f320 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -151,6 +151,8 @@ struct thread_data {
        os_cpu_mask_t cpumask;
        unsigned int jobnum;
        unsigned int iolog;
+       unsigned int rwmixcycle;
+       unsigned int rwmixread;
 
        char iolog_file[256];
 
@@ -222,6 +224,10 @@ struct thread_data {
        unsigned int do_disk_util;
        unsigned int override_sync;
 
+       struct drand48_data rwmix_state;
+       struct timeval rwmix_switch;
+       int rwmix_ddir;
+
        struct list_head io_hist_list;
        struct list_head io_log_list;
 };