From dfd7bc2c24d3a4281982eaf4f83aa1aeb09424de Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 24 Oct 2006 12:17:57 +0200 Subject: [PATCH] [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 --- fio.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; -- 2.25.1