Re: [PATCH v6 11/12] block: Change the runtime power management approach (2/2)

2018-08-10 Thread Bart Van Assche
On Fri, 2018-08-10 at 09:51 +0800, jianchao.wang wrote: > On 08/10/2018 03:41 AM, Bart Van Assche wrote: > > + > > + blk_set_pm_only(q); > > + /* > > +* This function only gets called if the most recent > > +* pm_request_resume() call occurred at least autosuspend_delay_ms > > +* ag

Re: [PATCH v6 11/12] block: Change the runtime power management approach (2/2)

2018-08-09 Thread jianchao.wang
Hi Bart On 08/10/2018 03:41 AM, Bart Van Assche wrote: > + > + blk_set_pm_only(q); > + /* > + * This function only gets called if the most recent > + * pm_request_resume() call occurred at least autosuspend_delay_ms > + * ago. Since blk_queue_enter() is called by the request