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)
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>

No differences found