diff options
author | Ming Lei <[email protected]> | 2020-06-05 19:44:10 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-06-07 08:56:50 -0600 |
commit | 22f614bc0f376e7a1bcf1a2cd912885f4a933045 (patch) | |
tree | a1392f6f487a5d46cfb1939975f615fda561e7be /tools/perf/scripts/python | |
parent | d94ecfc399715f06da347922e7979c088b1d8834 (diff) |
blk-mq: fix blk_mq_all_tag_iter
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: bf0beec0607d ("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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions