# Re: \[PATCH\] block: decode QUEUE\_FLAG\_HCTX\_ACTIVE in debugfs output

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2021-10-04 13:29:37 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/10/6405777
- Thread: https://ratatoskr.run/linux-block/2021/10/6405774/t.md

```text
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

```
