]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dio: separate map_bh from dio
authorAndi Kleen <ak@linux.intel.com>
Wed, 28 Sep 2011 00:51:09 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:42:26 +0000 (18:42 +1100)
commita4d8e821c1150a33f43c1b3e670fc33aaba80dca
tree688e32a3f7eddbc6100e0ff170c6e5e758ab5d4d
parent0f67911134d25c8bfe984b866b919764e605c042
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 <>
fs/direct-io.c