From: Jens Axboe Date: Tue, 24 Oct 2006 10:17:57 +0000 (+0200) Subject: [PATCH] Shrink io_u a little X-Git-Tag: fio-1.8~49 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=dfd7bc2c24d3a4281982eaf4f83aa1aeb09424de [PATCH] Shrink io_u a little ->index and ->seen can share the same space, they are both io engine private. Signed-off-by: Jens Axboe --- diff --git a/fio.h b/fio.h index dc2f84ba..921282cc 100644 --- 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;