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.