On 5/23/23 17:35, Ming Lei wrote:
Hmm ... blk_mq_requeue_work() may call blk_mq_insert_request() to requeue a request that is not a passthrough request and if an I/O scheduler is active. I think there are more examples in the block layer of blk_mq_insert_request() calls that happen if q->elevator != NULL.blk_mq_insert_requests() is only called for inserting passthrough request in case of !q->elevator.
Thanks, Bart.