Thread (23 messages) 23 messages, 4 authors, 2018-08-07

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

From: Bart Van Assche <hidden>
Date: 2018-08-03 00:08:54

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help