[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF1ivSajZb_D9nOuA5gYeDgHgbvyqbCueV8+kDyy3DSBs1AumQ@mail.gmail.com>
Date: Mon, 21 May 2012 23:14:24 +0800
From: Lin Ming <ming.m.lin@...el.com>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Jens Axboe <axboe@...nel.dk>, Jeff Moyer <jmoyer@...hat.com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-scsi@...r.kernel.org
Subject: Re: [RFC v2 PATCH 2/4] block: add queue runtime pm callbacks
On Mon, May 21, 2012 at 11:00 PM, Alan Stern <stern@...land.harvard.edu> wrote:
> On Mon, 21 May 2012, Lin Ming wrote:
>
>> On Fri, May 18, 2012 at 2:29 AM, Alan Stern <stern@...land.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.
When tested the patches, I found that kjournald and flusher thread
frequently resume the disk.
I'm not familiar with journal.
Are the journal threads still need to be in active state when the disk
is already suspended?
>
> Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists