Skip to content

blk-mq: various fixes and cleanups

Omar Sandoval linux-block 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 8 repliesIn review
  2. v28 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8blk-mq: use the right hctx when getting a driver tag failsblock/blk-mq-sched.c block/blk-mq.c block/blk-mq.h+19 -178 replies
2/8blk-mq-sched: refactor scheduler initializationblock/blk-mq-sched.c block/blk-mq-sched.h block/elevator.c+57 -590 replies
3/8blk-mq-sched: set up scheduler tags when bringing up new queuesblock/blk-mq-sched.c block/blk-mq-sched.h block/blk-mq.c+35 -10 replies
4/8blk-mq-sched: fix crash in switch error pathblock/blk-mq-sched.c block/blk-mq-sched.h block/blk-mq.c +3 more+67 -480 replies
5/8blk-mq: remap queues when adding/removing hardware queuesblock/blk-mq.c+10 -40 replies
6/8blk-mq-sched: provide hooks for initializing hardware queue datablock/blk-mq-sched.c block/blk-mq-sched.h include/linux/elevator.h+45 -420 replies
7/8blk-mq: make driver tag failure path easier to followblock/blk-mq.c+9 -100 replies
8/8blk-mq: use true instead of 1 for blk_mq_queue_data.lastblock/blk-mq.c+1 -10 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchKeith BuschChristoph HellwigSagi Grimberg
1/8
2/8
3/8
4/8
5/8R-b R-b R-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/8] blk-mq: various fixes and cleanups

From: Omar Sandoval <[email protected]>

Rebase of v2 [1] onto block-next. As with v2,

- Patch 1 is the new fix for a hang that Josef reported after trying v1.
- Patches 2-6 are the original series. Patch 5 now has Christoph's and Sagi's Reviewed-by.
- Patches 7 and 8 are trivial cleanups.

Patches 1-5 should probably go into 4.11, and 6-8 are for 4.12.

1: http://marc.info/?l=linux-block&m=149141696306216&w=2

Omar Sandoval (8):
blk-mq: use the right hctx when getting a driver tag fails
blk-mq-sched: refactor scheduler initialization
blk-mq-sched: set up scheduler tags when bringing up new queues
blk-mq-sched: fix crash in switch error path
blk-mq: remap queues when adding/removing hardware queues
blk-mq-sched: provide hooks for initializing hardware queue data
blk-mq: make driver tag failure path easier to follow
blk-mq: use true instead of 1 for blk_mq_queue_data.last

 block/blk-mq-sched.c     | 187 +++++++++++++++++++++++++++++------------------
 block/blk-mq-sched.h     |  13 ++--
 block/blk-mq.c           |  71 ++++++++++--------
 block/blk-mq.h           |   2 +-
 block/blk-sysfs.c        |   2 +-
 block/elevator.c         | 114 +++++++++++++++--------------
 include/linux/elevator.h |   4 +-
 7 files changed, 227 insertions(+), 166 deletions(-)
Signature · 1 line
2.12.2