Skip to content
Commit 14b83e17 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: mq flush: clear flush_rq's tag in flush_end_io()



blk_mq_tag_to_rq() needs to be able to tell if it should return
the original request, or the flush request if we are doing a flush
sequence. Clear the flush tag when IO completes for a flush, since
that is what we are comparing against.

Signed-off-by: default avatarMing Lei <tom.leiming@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 0e62f51f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment