]> git.baikalelectronics.ru Git - kernel.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)
commit8ec960de487b4d72585c1ed93a0b1238dee11ffe
treed53d4090b1d92761b04baf47e0efb6ca5c860263
parente61201a06303a6529c8ea4959b7f731237786d33
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