[PATCH RESEND 0/3] blk-mq: allow hardware queue to get more tag while sharing a tag set

From: Yu Kuai
Date: Mon Jan 17 2022 - 03:43:59 EST


Previous patch: https://lkml.org/lkml/2021/7/11/343

If there are multiple active queues while sharing a tag set, the available
tags is limit to fair share for each active queue. This patchset take
off such restriction if no one ever failed to get driver tag.

Yu Kuai (3):
blk-mq: add new interfaces to track if hctx failed to get driver tag
blk-mq: record how many hctx failed to get driver tag while sharing a
tag set
blk-mq: allow hardware queue to get more tag while sharing a tag set

block/blk-mq-debugfs.c | 2 ++
block/blk-mq-tag.c | 45 +++++++++++++++++++++++++++++++++++++++++-
block/blk-mq-tag.h | 22 +++++++++++++++++++--
block/blk-mq.c | 13 +++++++++---
block/blk-mq.h | 4 ++++
include/linux/blk-mq.h | 12 +++++++++++
include/linux/blkdev.h | 2 ++
7 files changed, 94 insertions(+), 6 deletions(-)

--
2.31.1