]> asedeno.scripts.mit.edu Git - linux.git/commit
blk-mq: support partial I/O completions
authorChristoph Hellwig <hch@infradead.org>
Thu, 20 Feb 2014 23:32:38 +0000 (15:32 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 21 Mar 2014 14:57:55 +0000 (08:57 -0600)
commit7237c740b04fd173cb24391d3e5be79ebd8d485f
tree5855d3450ef4062a05399aa991c8439712c3e703
parenteeabc850b79336575da7be3dbe186a2da4de8293
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