]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
dm io: remove struct padding
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 21 Jul 2008 11:00:28 +0000 (12:00 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 21 Jul 2008 11:00:28 +0000 (12:00 +0100)
Rearrange struct dm_io.
Shrinks size from 40 -> 32 allowing more objects/slab.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c

index 372369b1cc2068c286964883638c2b3a9f2c11c4..efe9690749282d3cc3ae19a2139c2b81e9ce61f7 100644 (file)
@@ -37,8 +37,8 @@ static DEFINE_SPINLOCK(_minor_lock);
 struct dm_io {
        struct mapped_device *md;
        int error;
-       struct bio *bio;
        atomic_t io_count;
+       struct bio *bio;
        unsigned long start_time;
 };