[PATCH] Shrink io_u a little
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index dc2f84bad5778ff72252ecbb341dd6fd428d1bc8..921282cc61cb8bcc741934689c4381217221456b 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -66,14 +66,20 @@ struct io_u {
        char *buf;
        unsigned int buflen;
        unsigned long long offset;
-       unsigned int index;
 
        unsigned int resid;
        unsigned int error;
 
-       unsigned char seen;
        unsigned char ddir;
 
+       /*
+        * io engine private data
+        */
+       union {
+               unsigned int index;
+               unsigned int seen;
+       };
+
        struct fio_file *file;
 
        struct list_head list;