Re: [PATCH v5 5/9] block: Change the runtime power management approach (1/2)

jianchao.wang
2018-08-08T06:11:13Z

Hi Bart

On 08/08/2018 06:51 AM, Bart Van Assche wrote:
> @@ -391,6 +393,9 @@ static struct request *blk_mq_get_request(struct request_queue *q,
> }
> }
> data->hctx->queued++;
> +
> + blk_pm_add_request(q, rq);
> +
> return rq;
> }

The request_queue is in pm_only mode when suspended, who can reach here to do the resume ?

Thanks
Jianchao