block: remove all debugfs dir & don't grab debugfs_mutex
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | block: remove hctx->debugfs_dirblock/ include/ | +36 | 3 replies | |
| 2/7 | block: remove hctx->sched_debugfs_dirblock/ include/ | +24 | 1 reply | |
| 3/7 | block: remove q->sched_debugfs_dirblock/ block/ include/ | +5 | 0 replies | |
| 4/7 | block: remove q->rqos_debugfs_dirblock/ block/ include/ | +8 | 0 replies | |
| 5/7 | block: remove rqos->debugfs_dirblock/ block/ | +22 | 0 replies | |
| 6/7 | block: remove q->debugfs_dirblock/ block/ include/ +1 more | +77 | 0 replies | |
| 7/7 | block: don't grab q->debugfs_mutexblock/ block/ block/ +2 more | +4 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] block: remove all debugfs dir & don't grab debugfs_mutex
Hi,
The 1st 6 patch removes all kinds of debugfs dir entries of block layer, instead always retrieves them debugfs, so avoid to maintain block internal debugfs state.
The 7 patch removes debugfs_mutex for adding/removing debugfs entry because we needn't the protection any more, then one lockdep warning can be fixed.
Ming Lei (7):
block: remove hctx->debugfs_dir
block: remove hctx->sched_debugfs_dir
block: remove q->sched_debugfs_dir
block: remove q->rqos_debugfs_dir
block: remove rqos->debugfs_dir
block: remove q->debugfs_dir
block: don't grab q->debugfs_mutex
block/blk-mq-debugfs.c | 179 +++++++++++++++++++++++++++++----------- block/blk-mq-sched.c | 8 -- block/blk-rq-qos.c | 7 +- block/blk-rq-qos.h | 3 - block/blk-sysfs.c | 13 +-- include/linux/blk-mq.h | 10 --- include/linux/blkdev.h | 3 - kernel/trace/blktrace.c | 27 +++++- 8 files changed, 158 insertions(+), 92 deletions(-)
Signature · 1 line
2.47.0