Cache layout improvements
[fio.git] / ioengine.h
index efca45e2744fd6222cb0b516be793371293dc33e..e27dab1c1785ea1ac7af9b4f84361efe331082d8 100644 (file)
@@ -11,6 +11,7 @@ enum {
        IO_U_F_BUSY_OK          = 1 << 4,
        IO_U_F_TRIMMED          = 1 << 5,
        IO_U_F_BARRIER          = 1 << 6,
+       IO_U_F_VER_LIST         = 1 << 7,
 };
 
 /*
@@ -44,12 +45,16 @@ struct io_u {
        struct timeval start_time;
        struct timeval issue_time;
 
+       struct fio_file *file;
+       unsigned int flags;
+       enum fio_ddir ddir;
+
        /*
         * Allocated/set buffer and length
         */
-       void *buf;
        unsigned long buflen;
        unsigned long long offset;
+       void *buf;
 
        /*
         * Initial seed for generating the buffer contents
@@ -72,8 +77,6 @@ struct io_u {
        unsigned int resid;
        unsigned int error;
 
-       enum fio_ddir ddir;
-
        /*
         * io engine private data
         */
@@ -83,10 +86,6 @@ struct io_u {
                void *engine_data;
        };
 
-       unsigned int flags;
-
-       struct fio_file *file;
-
        struct flist_head list;
 
        /*