Re: [PATCH v3 8/9] blk-mq: Insert blk_pm_{add,put}_request() calls

Bart Van Assche
2018-08-03T00:08:54Z

On Fri, 2018-08-03 at 07:53 +0800, Ming Lei wrote:
> blk_pm_add_request() calls pm_request_resume() fo=
r waking up device, but
> it is wrong because it is async request, which can't guarantee device
> will be ready before calling .queue_rq().

That's a longstanding issue and not something that has been introduced by t=
his
patch series. Hence patch 6/9 that issues a warning if pm_request_r=
esume() would
be called.

Bart.