aboutsummaryrefslogtreecommitdiff
path: root/drivers/acorn
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-08-16 13:27:52 +0200
committerJens Axboe <axboe@carl.home.kernel.dk>2007-10-10 09:25:56 +0200
commit9dfa52831e96194b8649613e3131baa2c109f7dc (patch)
tree4a3c8b8261c54ba9530232a02ab241a4111d9ce3 /drivers/acorn
parentbbf25010f1a6b761914430f5fca081ec8c7accd1 (diff)
Merge blk_recount_segments into blk_recalc_rq_segments
blk_recalc_rq_segments calls blk_recount_segments on each bio, then does some extra calculations to handle segments that overlap two bios. If we merge the code from blk_recount_segments into blk_recalc_rq_segments, we can process the whole request one bio_vec at a time, and not need the messy cross-bio calculations. Then blk_recount_segments can be implemented by calling blk_recalc_rq_segments, passing it a simple on-stack request which stores just the bio. Signed-off-by: Neil Brown <neilb@suse.de> diff .prev/block/ll_rw_blk.c ./block/ll_rw_blk.c Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/acorn')
0 files changed, 0 insertions, 0 deletions