X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengine.h;h=e27dab1c1785ea1ac7af9b4f84361efe331082d8;hp=61cb396f5e0e792f87b862976a426695338e524b;hb=d72be5454c8c;hpb=0cae16ffe3e4ca17cdb88fe64d357b7cde643f6a diff --git a/ioengine.h b/ioengine.h index 61cb396f..e27dab1c 100644 --- a/ioengine.h +++ b/ioengine.h @@ -45,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 @@ -73,8 +77,6 @@ struct io_u { unsigned int resid; unsigned int error; - enum fio_ddir ddir; - /* * io engine private data */ @@ -84,10 +86,6 @@ struct io_u { void *engine_data; }; - unsigned int flags; - - struct fio_file *file; - struct flist_head list; /*