Skip to content

blk-mq-tag: remove bt_for_each()

[email protected] linux-block lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v36 patches 4 repliesSuperseded
  3. v26 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches7 repliesSuperseded

Changes in v4 from the cover letter

- Add Reviewed-by tag from Bart Van Assche. Thanks for review!
- Rebased on the newest block/for-next branch.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6blk-mq-tag: support queue filter in bt_tags_iter()block/blk-mq-tag.c+5 -00 replies
2/6blk-mq-tag: introduce __blk_mq_tagset_busy_iter()block/blk-mq-tag.c+26 -150 replies
3/6blk-mq-tag: remove bt_for_each()block/blk-mq-tag.c+1 -980 replies
4/6blk-mq: delete superfluous check in iterate callbackblock/blk-mq.c+4 -80 replies
5/6blk-mq-tag: fix functions documentationblock/blk-mq-tag.c+12 -160 replies
6/6blk-mq-tag: fix blk_mq_queue_tag_busy_iter() documentationblock/blk-mq-tag.c+1 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBart Van Assche
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/6] blk-mq-tag: remove bt_for_each()

From: Chengming Zhou <[email protected]>

Changes in v4:
- Add Reviewed-by tag from Bart Van Assche. Thanks for review!
- Rebased on the newest block/for-next branch.

Changes in v3:
- Document the argument 'q' in the patch which add it.
- Add Fixes tag and Reviewed-by tags.

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(-)
Signature · 1 line
2.40.1