mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
[ Upstream commit 1dbdd99b51 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
85c1827eee
commit
a6285b1b22
@@ -129,6 +129,7 @@ static const char *const blk_queue_flag_name[] = {
|
|||||||
QUEUE_FLAG_NAME(PCI_P2PDMA),
|
QUEUE_FLAG_NAME(PCI_P2PDMA),
|
||||||
QUEUE_FLAG_NAME(ZONE_RESETALL),
|
QUEUE_FLAG_NAME(ZONE_RESETALL),
|
||||||
QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
|
QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
|
||||||
|
QUEUE_FLAG_NAME(HCTX_ACTIVE),
|
||||||
QUEUE_FLAG_NAME(NOWAIT),
|
QUEUE_FLAG_NAME(NOWAIT),
|
||||||
};
|
};
|
||||||
#undef QUEUE_FLAG_NAME
|
#undef QUEUE_FLAG_NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user