]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
blk-mq: blk_mq_tag_to_rq should handle flush request
authorShaohua Li <shli@kernel.org>
Fri, 30 May 2014 14:06:42 +0000 (08:06 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 30 May 2014 14:06:42 +0000 (08:06 -0600)
commit2230237500821aedfcf2bba2a79d9cbca389233c
treeb4b7bee385293f8cc318fb309909ca3e701b903b
parentda52f22fa924b4a21d8e11fbfd3eeebd7a90a366
blk-mq: blk_mq_tag_to_rq should handle flush request

flush request is special, which borrows the tag from the parent
request. Hence blk_mq_tag_to_rq needs special handling to return
the flush request from the tag.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-flush.c
block/blk-mq.c
include/linux/blk-mq.h