block: fix double account of flush request's driver tag
In case of none scheduler, we share data request's driver tag for flush request, so have to mark the flush request as INFLIGHT for avoiding double account of this driver tag. Fixes: 568f2700 ("blk-mq: centralise related handling into blk_mq_get_driver_tag") Reported-by:Matthew Wilcox <willy@infradead.org> Signed-off-by:
Ming Lei <ming.lei@redhat.com> Tested-by:
Matthew Wilcox <willy@infradead.org> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
Please register or sign in to comment