From: Jens Axboe Date: Wed, 18 Mar 2015 22:17:41 +0000 (-0600) Subject: Pack io_u/fio_file X-Git-Tag: fio-2.2.7~15 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d8f1f7d4ef536ea04a6a5fbd0399d46f69ff4e60 Pack io_u/fio_file Remove two unneeded holes in the struct. Signed-off-by: Jens Axboe --- diff --git a/file.h b/file.h index f7a1eae1..fc473102 100644 --- a/file.h +++ b/file.h @@ -75,9 +75,9 @@ struct fio_file { /* * filename and possible memory mapping */ - char *file_name; unsigned int major, minor; int fileno; + char *file_name; /* * size of the file, offset into file, and io size from that offset diff --git a/ioengine.h b/ioengine.h index 85923fce..f9a0235c 100644 --- a/ioengine.h +++ b/ioengine.h @@ -45,12 +45,16 @@ struct io_u { */ enum fio_ddir acct_ddir; + /* + * Write generation + */ + unsigned short numberio; + /* * Allocated/set buffer and length */ unsigned long buflen; unsigned long long offset; - unsigned short numberio; void *buf; /*