aboutsummaryrefslogtreecommitdiff
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorGravatar Ming Lei <ming.lei@redhat.com> 2019-03-29 15:08:00 +0800
committerGravatar Jens Axboe <axboe@kernel.dk> 2019-04-01 12:11:39 -0600
commit489fbbcb51d0249569d863f9220de69cb31f1922 (patch)
tree755f9dc717057372d6b6e6207887c714b2a6c311 /block/blk-merge.c
parentblock: put the same page when adding it to bio (diff)
downloadlinux-489fbbcb51d0249569d863f9220de69cb31f1922.tar.gz
linux-489fbbcb51d0249569d863f9220de69cb31f1922.tar.bz2
linux-489fbbcb51d0249569d863f9220de69cb31f1922.zip
block: enable multi-page bvec for passthrough IO
Now block IO stack is basically ready for supporting multi-page bvec, however it isn't enabled on passthrough IO. One reason is that passthrough IO is dispatched to LLD directly and bio split is bypassed, so the bio has to be built correctly for dispatch to LLD from the beginning. Implement multi-page support for passthrough IO by limitting each bvec as block device's segment and applying all kinds of queue limit in blk_add_pc_page(). Then we don't need to calculate segments any more for passthrough IO any more, turns out code is simplified much. Cc: Omar Sandoval <osandov@fb.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions