summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-debugfs.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-01-08 09:55:37 +0100
committerJens Axboe <axboe@kernel.dk>2021-01-08 16:20:27 +0100
commit02f938e9fed1681791605ca8b96c2d9da9355f6a (patch)
tree65e6c2aa46abcae314aa7c4cad28fe66ad16f794 /block/blk-mq-debugfs.c
parentblock/rnbd-clt: avoid module unload race with close confirmation (diff)
downloadlinux-02f938e9fed1681791605ca8b96c2d9da9355f6a.tar.xz
linux-02f938e9fed1681791605ca8b96c2d9da9355f6a.zip
blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED
Showing the hctx flags for when BLK_MQ_F_TAG_HCTX_SHARED is set gives something like: root@debian:/home/john# more /sys/kernel/debug/block/sda/hctx0/flags alloc_policy=FIFO SHOULD_MERGE|TAG_QUEUE_SHARED|3 Add the decoding for that flag. Fixes: 32bc15afed04b ("blk-mq: Facilitate a shared sbitmap per tagset") Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--block/blk-mq-debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index e21eed20a155..712a95f74ccb 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -246,6 +246,7 @@ static const char *const hctx_flag_name[] = {
HCTX_FLAG_NAME(BLOCKING),
HCTX_FLAG_NAME(NO_SCHED),
HCTX_FLAG_NAME(STACKING),
+ HCTX_FLAG_NAME(TAG_HCTX_SHARED),
};
#undef HCTX_FLAG_NAME