Skip to content

Commit

Permalink
dm io: remove struct padding
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Kennedy authored and Alasdair G Kergon committed Jul 21, 2008
1 parent c8da2f8 commit 6ae2fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 6ae2fa6

Please sign in to comment.