summaryrefslogtreecommitdiff
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2010-03-06 02:32:33 +0000
committerAlasdair G Kergon <agk@redhat.com>2010-03-06 02:32:33 +0000
commit924e600d417ead9ef67043988055ba236f114718 (patch)
tree338db5dfc0f8fe8f9aa39bd19639ad1f1dc27e46 /block/blk-map.c
parent3abf85b5b5851b5f28d3d8a920ebb844edd08352 (diff)
dm: eliminate some holes data structures
Eliminate a 4-byte hole in 'struct dm_io_memory' by moving 'offset' above the 'ptr' to which it applies (size reduced from 24 to 16 bytes). And by association, 1-4 byte hole is eliminated in 'struct dm_io_request' (size reduced from 56 to 48 bytes). Eliminate all 6 4-byte holes and 1 cache-line in 'struct dm_snapshot' (size reduced from 392 to 368 bytes). Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions