projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8da2f8
)
dm io: remove struct padding
author
Richard Kennedy
<richard@rsk.demon.co.uk>
Mon, 21 Jul 2008 11:00:28 +0000
(12:00 +0100)
committer
Alasdair 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
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index 372369b1cc2068c286964883638c2b3a9f2c11c4..efe9690749282d3cc3ae19a2139c2b81e9ce61f7 100644
(file)
--- 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;
};