Re: [PATCH V2] blk-mq: fix warning in blk_mq_start_request
From: Christoph Hellwig
Date: Wed Nov 08 2023 - 02:26:34 EST
On Wed, Nov 08, 2023 at 02:59:40PM +0800, Edward Adam Davis wrote:
> Before call queue_rq(), initialize rq->state to MQ_RQ_IDLE.
Request should never be able to be allocated if they aren't in
MQ_RQ_IDLE. So papering over it here is not the right fix, we need
to figure out got it ends up being marked free in the bitmap while
not idle.