Thread (2 messages) 2 messages, 2 authors, 2021-10-04

Re: [PATCH] block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-10-04 13:29:37

On 10/4/21 1:22 AM, Johannes Thumshirn wrote:
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.
Applied, thanks.

We really should have some way to catch this at build time, this isn't the
first (and won't be the last) time we run into this.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help