Ming Lei 22f614bc0f 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 <ming.lei@redhat.com>
Tested-by: John Garry <john.garry@huawei.com>
Cc: Dongli Zhang <dongli.zhang@oracle.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Daniel Wagner <dwagner@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-06-07 08:56:50 -06:00
..
2020-06-02 15:37:03 -07:00
2020-06-02 15:29:19 -07:00
2020-06-07 08:56:50 -06:00
2020-03-17 20:55:21 +01:00
2019-10-07 21:19:10 -06:00
2020-05-29 16:30:39 -06:00
2020-05-12 20:36:28 -06:00
2020-01-03 09:33:21 +01:00
2019-07-15 09:20:27 -03:00
2020-01-06 20:59:04 -07:00