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