Re: [PATCH] blk-mq: clear stale inactive flag on hctx reuse

From: Nirmoy Das

Date: Tue Oct 20 2026 - 11:00:55 EST



On 20.10.26 16:40, Jens Axboe wrote:
On Tue, 20 Oct 2026 05:51:29 -0700, Nirmoy Das wrote:
When the last CPU mapped to an hctx goes offline,
blk_mq_hctx_notify_offline() sets BLK_MQ_S_INACTIVE. Updating the
number of hardware queues exits every hctx and parks it on
q->unused_hctx_list. A later update can reuse a parked hctx through
blk_mq_alloc_and_init_hctx(), at any queue index, and nothing clears
the flag.

[...]
Applied, thanks!

[1/1] blk-mq: clear stale inactive flag on hctx reuse
commit: afc1de47a7ab607ae6403c4bfda36b0bf3cd342f

Best regards,


Thanks, Jens.