]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dio: separate map_bh from dio
authorAndi Kleen <ak@linux.intel.com>
Wed, 5 Oct 2011 00:44:04 +0000 (11:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:44:21 +0000 (19:44 +1100)
commit7d8a3083921c9e0f0858f576d318938301809d1f
tree68517ba8b1e909743b7e6ce6818bdf57350b7dab
parentf279dda51c983a53814611f9a02e51eeadd2b777
dio: separate map_bh from dio

Only a single b_private field in the map_bh buffer head is needed after
the submission path.  Move map_bh separately to avoid storing this
information in the long term slab.

This avoids the weird 104 byte hole in struct dio_submit which also needed
to be memseted early.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/direct-io.c