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

From
Jens Axboe <axboe@kernel.dk>
Date
2021-10-04 13:29:37
Reply to
Johannes Thumshirn, 2021-10-04
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
Thread (2 messages) 2 messages, 2 authors, last reply 2021-10-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help