Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk_mq_all_tag_iter() is added to iterate all requests, so we should fetch the request from ->static_rqs][] instead of ->rqs[] which is for holding in-flight request only. Fix it by adding flag of BT_TAG_ITER_STATIC_RQS. Fixes: bf0beec ("blk-mq: drain I/O when all CPUs in a hctx are offline") Signed-off-by: Ming Lei <[email protected]> Tested-by: John Garry <[email protected]> Cc: Dongli Zhang <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Daniel Wagner <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information