]> git.baikalelectronics.ru Git - kernel.git/commit
block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 4 Oct 2021 07:22:07 +0000 (16:22 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Oct 2021 12:58:39 +0000 (06:58 -0600)
commite315b029cbe801966e90cd6609c0406aceb63bf6
tree84a1203b1d993ae132b8819dbbec1a6c6ad1c87b
parent180a9e4658c6d555e6c680f8dd2c3bb456ff8c2a
block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output

While debugging an issue we've found that $DEBUGFS/block/$disk/state
doesn't decode QUEUE_FLAG_HCTX_ACTIVE but only displays its numerical
value.

Add QUEUE_FLAG(HCTX_ACTIVE) to the blk_queue_flag_name array so it'll get
decoded properly.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/4351076388918075bd80ef07756f9d2ce63be12c.1633332053.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c