Skip to content

Commit 02f938e

Browse files
John Garryaxboe
authored andcommitted
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: 32bc15a ("blk-mq: Facilitate a shared sbitmap per tagset") Signed-off-by: John Garry <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 3a21777 commit 02f938e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/blk-mq-debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ static const char *const hctx_flag_name[] = {
246246
HCTX_FLAG_NAME(BLOCKING),
247247
HCTX_FLAG_NAME(NO_SCHED),
248248
HCTX_FLAG_NAME(STACKING),
249+
HCTX_FLAG_NAME(TAG_HCTX_SHARED),
249250
};
250251
#undef HCTX_FLAG_NAME
251252

0 commit comments

Comments
 (0)