From: Lei Chen <lei.chen@smartx.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
Lei Chen <lei.chen@smartx.com>
Subject: [PATCH v2 0/5] Expose blk-mq tag sets through debugfs
Date: Fri, 20 Nov 2026 10:55:59 +0800 [thread overview]
Message-ID: <cover.1795143228.git.lei.chen@smartx.com> (raw)
In-Reply-To: <20261009030111.57784-1-lei.chen@smartx.com>
The block debugfs hierarchy currently exposes request queues and hardware
contexts, but not the tag sets they share. This series adds a tag-set view
for configuration, CPU mappings and driver tags, links request queues to
their tag set, and links SCSI tag sets to their controller debugfs data.
Compared with v1:
- Reworked tag allocation and reclamation so the debugfs objects have a
safe lifetime across queue initialization and hardware queue updates.
- Added controller links for megaraid_sas and mpt3sas, including helpers
that build relative debugfs targets and serialize link updates.
- Folded the stale CPU mapping comment cleanup into the tag-set changes.
The series is based on Linux v7.3-rc2. The tag-set debugfs implementation
was exercised with concurrent queue resizing, shared tag sets, device
teardown and old file descriptors, allocation fault injection, and KASAN
and lockdep enabled. No KASAN or lockdep reports were observed.
Lei Chen (5):
block: expose blk-mq tag sets through debugfs
block: link request queue debugfs directories to tag sets
block: add helpers to link tag set debugfs to controllers
scsi: megaraid_sas: Link tag set debugfs to the controller
scsi: mpt3sas: Link tag set debugfs to the controller
block/blk-mq-debugfs.c | 378 +++++++++++++++++++
block/blk-mq-debugfs.h | 22 ++
block/blk-mq.c | 8 +
drivers/scsi/megaraid/megaraid_sas_debugfs.c | 3 +
drivers/scsi/mpt3sas/mpt3sas_debugfs.c | 4 +-
include/linux/blk-mq.h | 24 ++
6 files changed, 438 insertions(+), 1 deletion(-)
--
2.43.0
next prev parent reply other threads:[~2026-11-20 2:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 3:01 [PATCH v1 0/4] Expose blk-mq tag sets through debugfs Lei Chen
2026-10-09 3:01 ` [PATCH v1 1/4] blk-mq: remove stale comment about non-present CPU mapping Lei Chen
2026-10-09 3:01 ` [PATCH v1 2/4] blk-mq: manage driver tags at the tag set level Lei Chen
2026-10-09 3:01 ` [PATCH v1 3/4] block: expose blk-mq tag sets through debugfs Lei Chen
2026-10-09 3:01 ` [PATCH v1 4/4] block: link request queue debugfs directories to tag sets Lei Chen
2026-11-03 9:04 ` [PATCH v1 0/4] Expose blk-mq tag sets through debugfs Lei Chen
2026-11-20 2:55 ` Lei Chen [this message]
2026-11-20 2:56 ` [PATCH v2 1/5] block: expose " Lei Chen
2026-11-20 2:56 ` [PATCH v2 2/5] block: link request queue debugfs directories to tag sets Lei Chen
2026-11-20 2:56 ` [PATCH v2 3/5] block: add helpers to link tag set debugfs to controllers Lei Chen
2026-11-20 2:56 ` [PATCH v2 4/5] scsi: megaraid_sas: Link tag set debugfs to the controller Lei Chen
2026-11-20 2:56 ` [PATCH v2 5/5] scsi: mpt3sas: " Lei Chen
2026-11-20 2:58 ` [RESEND PATCH v1 0/4] Expose blk-mq tag sets through debugfs Lei Chen
2026-11-20 2:58 ` [RESEND PATCH v1 1/4] blk-mq: remove stale comment about non-present CPU mapping Lei Chen
2026-11-20 2:58 ` [RESEND PATCH v1 2/4] blk-mq: manage driver tags at the tag set level Lei Chen
2026-11-20 2:58 ` [RESEND PATCH v1 3/4] block: expose blk-mq tag sets through debugfs Lei Chen
2026-11-20 2:58 ` [RESEND PATCH v1 4/4] block: link request queue debugfs directories to tag sets Lei Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1795143228.git.lei.chen@smartx.com \
--to=lei.chen@smartx.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).