From d8f1f7d4ef536ea04a6a5fbd0399d46f69ff4e60 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 18 Mar 2015 16:17:41 -0600 Subject: [PATCH] Pack io_u/fio_file Remove two unneeded holes in the struct. Signed-off-by: Jens Axboe --- file.h | 2 +- ioengine.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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; /* -- 2.25.1