]> Pileus Git - ~andy/linux/commit
dm cache: eliminate holes in cache structure
authorMike Snitzer <snitzer@redhat.com>
Fri, 16 Aug 2013 14:54:21 +0000 (10:54 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 23 Aug 2013 13:02:14 +0000 (09:02 -0400)
commitc9ec5d7c7b4c3d84bb1b39bc36c5992fceb15a91
tree016052d62b177c280cec60d780a5f0a05ed525a9
parentf610937214e2ac8c4225df9a124ea0de1f030626
dm cache: eliminate holes in cache structure

Reorder members in the cache structure to eliminate 6 out of 7 holes
(reclaiming 24 bytes).  Also, the 'worker' and 'waker' members no longer
straddle cachelines.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-cache-target.c