summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-07-21 12:00:28 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-07-21 12:00:28 +0100
commit6ae2fa6718c398290be29ef740873640d25058b6 (patch)
tree057e8601891ed77fecbdb968033cc9dc06f8b788 /drivers/md
parentc8da2f8dd86d70559ec4e50251f6a755b42bd5b4 (diff)
downloadop-kernel-dev-6ae2fa6718c398290be29ef740873640d25058b6.zip
op-kernel-dev-6ae2fa6718c398290be29ef740873640d25058b6.tar.gz
dm io: remove struct padding
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 372369b..efe9690 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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;
};
OpenPOWER on IntegriCloud