Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Richard Kennedy and committed by
Alasdair G Kergon
6ae2fa67 c8da2f8d

+1 -1
+1 -1
drivers/md/dm.c
··· 37 37 struct dm_io { 38 38 struct mapped_device *md; 39 39 int error; 40 - struct bio *bio; 41 40 atomic_t io_count; 41 + struct bio *bio; 42 42 unsigned long start_time; 43 43 }; 44 44