[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220117085455.2269760-1-yukuai3@huawei.com>
Date: Mon, 17 Jan 2022 16:54:52 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <axboe@...nel.dk>
CC: <linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<yukuai3@...wei.com>, <yi.zhang@...wei.com>
Subject: [PATCH RESEND 0/3] blk-mq: allow hardware queue to get more tag while sharing a tag set
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
Powered by blists - more mailing lists