]> 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>
Thu, 6 Oct 2011 06:00:13 +0000 (17:00 +1100)
commitb50ae95a867b43f099b69c07a26f930091027cdc
tree4d6b2cbcaa5ea3a866d545bfed34229c7fb9326b
parent2b17cb931723a707ed26ddf1bea053be8e0c7964
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