summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-debugfs.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-05-04 00:31:27 -0700
committerJens Axboe <axboe@fb.com>2017-05-04 08:23:30 -0600
commit88aabbd7e7ace77fb3fbf06d22dd3cc0bfc0ca79 (patch)
tree174f123c907b05592ac49e53dda8378adeddb1b8 /block/blk-mq-debugfs.c
parent71b90511cb170dd3e13b640cc1a453b2dd92e023 (diff)
downloadlinux-0-day-88aabbd7e7ace77fb3fbf06d22dd3cc0bfc0ca79.tar.gz
linux-0-day-88aabbd7e7ace77fb3fbf06d22dd3cc0bfc0ca79.tar.xz
blk-mq-debugfs: rename hw queue directories from <n> to hctx<n>
It's not clear what these numbered directories represent unless you consult the code. We're about to get rid of the intermediate "mq" directory, so these would be even more confusing without that context. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-debugfs.c')
-rw-r--r--block/blk-mq-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 109ae9f3d4007..2eae3238fb35b 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -936,7 +936,7 @@ static int blk_mq_debugfs_register_hctx(struct request_queue *q,
char name[20];
int i;
- snprintf(name, sizeof(name), "%u", hctx->queue_num);
+ snprintf(name, sizeof(name), "hctx%u", hctx->queue_num);
hctx_dir = debugfs_create_dir(name, q->mq_debugfs_dir);
if (!hctx_dir)
return -ENOMEM;