Re: [RFC v2 PATCH 2/4] block: add queue runtime pm callbacks

Alan Stern
2012-05-21T15:00:51Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=UTF-8, Size: 532 bytes --]

On Mon, 21 May 2012, Lin Ming wrote:

> On Fri, May 18, 2012 at 2:29 AM, Alan Stern <stern@rowland.harvard.edu> wrote:
> [snip]
> > I may have left some parts out from this brief description.  Hopefully
> > you'll be able to figure out the general idea and get it to work.
>
> All journal threads and flusher thread of the disk need to be freezed
> before suspend and thaw after resume.

Why? If any of those threads needs to write something to the disk
while the disk is suspended, the disk will simply be resumed.

Alan Stern