]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 20 Aug 2013 19:04:19 +0000 (15:04 -0400)
commitbb90e9aa46af70ed927a7c6741df831e5def255d
tree016052d62b177c280cec60d780a5f0a05ed525a9
parent8f79d0ce4cb2fe7d58d01153a2dfc12d54a42048
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 Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-cache-target.c