* [patch] dm: reorder dm_io to remove padding on 64 bit builds
@ 2008-06-09 11:41 Richard Kennedy
0 siblings, 0 replies; only message in thread
From: Richard Kennedy @ 2008-06-09 11:41 UTC (permalink / raw)
To: dm-devel; +Cc: lkml
shrinks size from 40 -> 32 allowing more objects/slab
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
---
This change looks safe AFAICT, but I have not tested it other than
compiling it.
Compiled on 2.6.26-rc5 AMD64.
HTH
Richard
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;
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-09 11:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 11:41 [patch] dm: reorder dm_io to remove padding on 64 bit builds Richard Kennedy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®