]> 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>
Fri, 7 Oct 2011 06:07:14 +0000 (17:07 +1100)
commitdfdeaf5cd9dd049d7b7a31310413b3e3da2e9063
tree5dfe0a3d267154c4ec2eae58fb65012a8db23bd9
parent5bd840c7dc10df4c143d47da62291e0c34e3270c
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