]> git.karo-electronics.de Git - karo-tx-linux.git/commit
blk-mq: allow drivers to hook into I/O completion
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Apr 2014 07:44:52 +0000 (09:44 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 16 Apr 2014 20:15:25 +0000 (14:15 -0600)
commit63151a449ebaef062ffac5b302206565ff5ef62e
treed53d4090b1d92761b04baf47e0efb6ca5c860263
parent6700a678c02e47b6d50c51da2a46ff80efedb8c7
blk-mq: allow drivers to hook into I/O completion

Split out the bottom half of blk_mq_end_io so that drivers can perform
work when they know a request has been completed, but before it has been
freed.  This also obsoletes blk_mq_end_io_partial as drivers can now
pass any value to blk_update_request directly.

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