aboutsummaryrefslogtreecommitdiffstats
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
parentdm log: make dm_dirty_log init and exit static (diff)
downloadlinux-dev-6ae2fa6718c398290be29ef740873640d25058b6.tar.xz
linux-dev-6ae2fa6718c398290be29ef740873640d25058b6.zip
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 372369b1cc20..efe969074928 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;
};