Avoid using the rbtree if we don't have to
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 4d7e6ea7d8410132e787e577631c44a24b1b440d..ec08e42350f47b5428e8f166205b1fc680d7155f 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -515,9 +515,15 @@ struct thread_data {
        unsigned int ddir_nr;
 
        /*
-        * IO historic logs
+        * IO history logs for verification. We use a tree for sorting,
+        * if we are overwriting. Otherwise just use a fifo.
         */
        struct rb_root io_hist_tree;
+       struct list_head io_hist_list;
+
+       /*
+        * For IO replaying
+        */
        struct list_head io_log_list;
 
        /*