[PATCH v2 0/6] blk-mq-tag: remove bt_for_each()

From: chengming . zhou
Date: Wed Aug 23 2023 - 05:26:53 EST


From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

Changes in v2:
- Split by one change per patch and add Fixes tag.
- Improve commit messages, suggested by Bart Van Assche.

There are two almost identical mechanisms in blk-mq-tag to iterate over
requests of one tags: bt_for_each() and the newer bt_tags_for_each().

This series aim to add support of queue filter in bt_tags_for_each()
then remove bt_for_each(). Fix and update documentation as we're here.

Thanks for review!

Chengming Zhou (6):
blk-mq-tag: support queue filter in bt_tags_iter()
blk-mq-tag: introduce __blk_mq_tagset_busy_iter()
blk-mq-tag: remove bt_for_each()
blk-mq: delete superfluous check in iterate callback
blk-mq-tag: fix functions documentation
blk-mq-tag: fix blk_mq_queue_tag_busy_iter() documentation

block/blk-mq-tag.c | 176 ++++++++++++---------------------------------
block/blk-mq.c | 12 ++--
2 files changed, 49 insertions(+), 139 deletions(-)

--
2.41.0