]> Pileus Git - ~andy/linux/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 Feb 2014 16:58:49 +0000 (08:58 -0800)
commitd6a25b31315327eef7785b895c354cc45c3f3742
treef32ed70506c097efa67526ed4a1eb63482056046
parentfeb71dae1f9e0aeb056f7f639a21e620d327fc66
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
include/linux/blk-mq.h