Skip to content

blk-mq-sched: allow to use hw tag for sched

Ming Lei linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: respect BLK_MQ_F_NO_SCHEDblock/elevator.c+10 -20 replies
2/4mtip32xx: pass BLK_MQ_F_NO_SCHEDdrivers/block/mtip32xx/mtip32xx.c+1 -10 replies
3/4blk-mq: introduce BLK_MQ_F_SCHED_USE_HW_TAGblock/blk-mq-sched.c block/blk-mq.c include/linux/blk-mq.h+39 -70 replies
4/4mtip32xx: use BLK_MQ_F_USE_SCHED_TAGdrivers/block/mtip32xx/mtip32xx.c+1 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMing Lei
SeriesT-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] blk-mq-sched: allow to use hw tag for sched

The 1st patch enhances BLK_MQ_F_NO_SCHED so that we can't change/ show available io schedulers on devices which don't support io scheduler.

The 2nd patch passes BLK_MQ_F_NO_SCHED for avoiding one regression on mtip32xx, which is introduced by blk-mq io scheduler.

The last two patches introduce BLK_MQ_F_SCHED_USE_HW_TAG so that we can allow to use hardware tag for scheduler, then mq-deadline can work well on mtip32xx. Even though other devices with enough hardware tag space can benefit from this feature too.

The 1st two patches aims on v4.11, and the last two are for v4.12.

Thanks,
Ming

Ming Lei (4):
block: respect BLK_MQ_F_NO_SCHED
mtip32xx: pass BLK_MQ_F_NO_SCHED
blk-mq: introduce BLK_MQ_F_SCHED_USE_HW_TAG
mtip32xx: use BLK_MQ_F_USE_SCHED_TAG

 block/blk-mq-sched.c              | 10 +++++++++-
 block/blk-mq.c                    | 35 +++++++++++++++++++++++++++++------
 block/elevator.c                  | 12 ++++++++++--
 drivers/block/mtip32xx/mtip32xx.c |  2 +-
 include/linux/blk-mq.h            |  1 +
 5 files changed, 50 insertions(+), 10 deletions(-)
Signature · 1 line
2.9.3