Trim the rbtree stuff fio doesn't use
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 4d7e6ea7d8410132e787e577631c44a24b1b440d..ddc7e2397808743cd34e3220664f73ed74eba9c7 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -238,6 +238,7 @@ enum fio_file_flags {
        FIO_FILE_UNLINK         = 1 << 1,       /* unlink on close */
        FIO_FILE_CLOSING        = 1 << 2,       /* file being closed */
        FIO_FILE_EXISTS         = 1 << 3,       /* no need to create */
+       FIO_FILE_NOSORT         = 1 << 4,       /* don't sort verify blocks */
 };
 
 /*
@@ -356,6 +357,7 @@ struct thread_options {
        unsigned int end_fsync;
        unsigned int sync_io;
        unsigned int verify;
+       unsigned int verifysort;
        unsigned int use_thread;
        unsigned int unlink;
        unsigned int do_disk_util;
@@ -515,9 +517,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;
 
        /*