Expose blk-mq tag sets through debugfs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 posting 2/20 of 4 patches 0 repliesNew
- v2 Latest5 patches 0 repliesNew
- v1 posting 1/24 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | block: expose blk-mq tag sets through debugfsblock/ block/ block/ +1 more | +354 | 0 replies | |
| 2/5 | block: link request queue debugfs directories to tag setsblock/ | +8 | 0 replies | |
| 3/5 | block: add helpers to link tag set debugfs to controllersblock/ include/ | +70 | 0 replies | |
| 4/5 | scsi: megaraid_sas: Link tag set debugfs to the controllerdrivers/ | +3 | 0 replies | |
| 5/5 | scsi: mpt3sas: Link tag set debugfs to the controllerdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] Expose blk-mq tag sets through debugfs
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(-)
Signature · 1 line
2.43.0