Cache layout improvements
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/ioengine.h b/ioengine.h
index 61cb396..e27dab1 100644
--- a/ioengine.h
+++ b/ioengine.h
@@ -45,12 +45,16 @@
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
@@ -73,8 +77,6 @@
unsigned int resid;
unsigned int error;
- enum fio_ddir ddir;
-
/*
* io engine private data
*/
@@ -84,10 +86,6 @@
void *engine_data;
};
- unsigned int flags;
-
- struct fio_file *file;
-
struct flist_head list;
/*