Base the rwmix switch algorithm on io issues
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index b2930f11d29225a1abe891b1507753b81b27650f..036e62afe115316fed70751d5f2e3374da84485c 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -598,8 +598,7 @@ struct thread_data {
         * read/write mixed workload state
         */
        os_random_state_t rwmix_state;
-       unsigned long long rwmix_bytes;
-       struct timeval rwmix_switch;
+       unsigned long rwmix_issues;
        enum fio_ddir rwmix_ddir;
        unsigned int ddir_nr;
 
@@ -684,6 +683,7 @@ extern unsigned long long mlock_size;
 extern unsigned long page_mask, page_size;
 extern int read_only;
 extern int eta_print;
+extern unsigned long done_secs;
 extern char *job_section;
 
 extern struct thread_data *threads;