Re: [PATCH] block: mq-deadline: check if elevator is attached to queue in dd_finish_request
From: Bart Van Assche
Date: Tue Jun 17 2025 - 20:19:41 EST
On 6/17/25 3:52 PM, Elijah Wright wrote:
I see. would it be possible to detach the elevator from the queue in
elevator_exit instead?
elevator_switch() is called with the request queue frozen.
q_usage_counter is dropped after the blk_mq_finish_request() call
returned. So what you described in your patch description can't happen.
Bart.