]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED
authorJohn Garry <john.garry@huawei.com>
Fri, 8 Jan 2021 08:55:37 +0000 (16:55 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jan 2021 15:20:27 +0000 (08:20 -0700)
commit56b75f070524d81f5158482862020c70761f5d65
tree65e6c2aa46abcae314aa7c4cad28fe66ad16f794
parentbee5854b13e0cac334a415a2cebe16b41b3ded61
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: ce6f9fb44f4ef ("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>
block/blk-mq-debugfs.c