Skip to content

blk-mq: Request queue-wide tags for shared sbitmap

John Garry linux-block linux-scsi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v21 patch 2 repliesSuperseded
  3. v11 patch 6 repliesSuperseded

Changes in v3 from the cover letter

- Spin off separate patch for tag allocation refactoring
- Combine sched shared sbitmap code into a single function

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: Some tag allocation code refactoringblock/blk-mq-tag.c block/blk-mq-tag.h block/blk-mq.c+40 -251 reply
2/2blk-mq: Use request queue-wide tags for tagset-wide sbitmapblock/blk-mq-sched.c block/blk-mq-sched.h block/blk-mq-tag.c +2 more+76 -211 reply

Reviews trailers per patch

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

PatchMing Lei
1/2R-b
2/2R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] blk-mq: Request queue-wide tags for shared sbitmap

This is v3 of patch/series. I have spun off a new patch for tag allocation refactoring.

Details are in commit messages.

Changes since v2:
- Spin off separate patch for tag allocation refactoring
- Combine sched shared sbitmap code into a single function

Changes since v1:
- Embed sbitmaps in request_queue struct
- Relocate IO sched functions to blk-mq-sched.c
- Fix error path code

Please retest, thanks! For some reason I could not recreate the original issue, but I am using qemu...

John Garry (2):
blk-mq: Some tag allocation code refactoring
blk-mq: Use request queue-wide tags for tagset-wide sbitmap

 block/blk-mq-sched.c   | 67 ++++++++++++++++++++++++++++++++++--------
 block/blk-mq-sched.h   |  2 ++
 block/blk-mq-tag.c     | 65 +++++++++++++++++++++++-----------------
 block/blk-mq-tag.h     |  9 ++++--
 block/blk-mq.c         | 15 ++++++++--
 include/linux/blkdev.h |  4 +++
 6 files changed, 116 insertions(+), 46 deletions(-)
Signature · 1 line
2.26.2