mbox series

[0/4] blk-mq-tag: remove bt_for_each()

Message ID 20230821073528.3469210-1-chengming.zhou@linux.dev (mailing list archive)
Headers show
Series blk-mq-tag: remove bt_for_each() | expand

Message

Chengming Zhou Aug. 21, 2023, 7:35 a.m. UTC
From: Chengming Zhou <zhouchengming@bytedance.com>

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 (4):
  blk-mq-tag: support queue filter in bt_tags_iter()
  blk-mq-tag: remove bt_for_each()
  blk-mq: delete superfluous check in iterate callback
  blk-mq-tag: update or fix functions documentation

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