]> git.baikalelectronics.ru Git - kernel.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 Feb 2014 16:58:49 +0000 (08:58 -0800)
commitf522a5cff7ae1ae2524961e2e3ffdd2a6f910241
treef32ed70506c097efa67526ed4a1eb63482056046
parentc614d5016f70b485a84dc797480dd6227844099e
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