blk-mq: support partial I/O completions
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 19:21:32 +0000 (13:21 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:43 +0000 (12:54 -0600)
commit9d1c8691297fbc0e6f48902689eb6cb12a8bd243
treeb240822a1755507552abcb60a41f5ddd4789a194
parentd913326ab1f24d93c6e32ddb29c8cf1986f6e338
blk-mq: support partial I/O completions

Add a new blk_mq_end_io_partial function to partially complete requests
as needed by the SCSI layer.  We do this by reusing blk_update_request
to advance the bio instead of having a simplified version of it in
the blk-mq code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c