Re: [patch]blk-mq: blk_mq_tag_to_rq should handle flush request

Christoph Hellwig
2014-05-09T15:00:21Z

On Fri, May 09, 2014 at 08:07:33PM +0800, Shaohua Li wrote:
>
> flush request is special, which borrows tag from other request. Need a special
> handling to get it from tag.

Thanks, we probably need this one. But I think you can simply test
REQ_FLUSH_SEQ the passed in request instead of the flush_rq_tag_valid
flag/