]> git.baikalelectronics.ru Git - kernel.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)
commit91b579767f02f0b94d52274e921d2845b99f5633
treeb4b7bee385293f8cc318fb309909ca3e701b903b
parentdd2ddd22baee4cb6b93f43537046a417d6375a42
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