]> git.baikalelectronics.ru Git - kernel.git/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)
commit6ff03800d3a35e52be011752804067ce1830d605
tree016052d62b177c280cec60d780a5f0a05ed525a9
parent089e0ba89138728a8d57dd4d623430efce3eabf2
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