Pack io_u/fio_file
authorJens Axboe <axboe@fb.com>
Wed, 18 Mar 2015 22:17:41 +0000 (16:17 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 18 Mar 2015 22:17:41 +0000 (16:17 -0600)
Remove two unneeded holes in the struct.

Signed-off-by: Jens Axboe <axboe@fb.com>
file.h
ioengine.h

diff --git a/file.h b/file.h
index f7a1eae14408240c6f92222b97b98fa5cd58a35e..fc473102ae3565276db1f6c3d8906f19a089915a 100644 (file)
--- a/file.h
+++ b/file.h
@@ -75,9 +75,9 @@ struct fio_file {
        /*
         * filename and possible memory mapping
         */
        /*
         * filename and possible memory mapping
         */
-       char *file_name;
        unsigned int major, minor;
        int fileno;
        unsigned int major, minor;
        int fileno;
+       char *file_name;
 
        /*
         * size of the file, offset into file, and io size from that offset
 
        /*
         * size of the file, offset into file, and io size from that offset
index 85923fcee3fdc1ff2f75be2bdec79048fac00c26..f9a0235cbf6e7f7fa24c9a60f4698591f6a37b6d 100644 (file)
@@ -45,12 +45,16 @@ struct io_u {
         */
        enum fio_ddir acct_ddir;
 
         */
        enum fio_ddir acct_ddir;
 
+       /*
+        * Write generation
+        */
+       unsigned short numberio;
+
        /*
         * Allocated/set buffer and length
         */
        unsigned long buflen;
        unsigned long long offset;
        /*
         * Allocated/set buffer and length
         */
        unsigned long buflen;
        unsigned long long offset;
-       unsigned short numberio;
        void *buf;
 
        /*
        void *buf;
 
        /*