lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 3/4] block: implement runtime pm strategy
On Fri, 18 Jan 2013, Aaron Lu wrote:

> > Either you have to make sure the q->nr_pending is always correct, even
> > when runtime PM isn't being used, or else the caller has to make sure
> > that no I/O takes place before blk_pm_runtime_init is called.
>
> I think we can say:
> blk_pm_runtime_init can't be called after any requests have been
> submitted but not finished.
> Sounds more accurate?

Okay. I think you can add (in parentheses) that in most cases drivers
should call the routine before any I/O has taken place.

Alan Stern



\
 
 \ /
  Last update: 2013-01-18 17:01    [W:0.060 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site