xfs
[Top] [All Lists]

Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resu

To: "Rafael J. Wysocki" <rjw@xxxxxxx>
Subject: Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume
From: Pavel Machek <pavel@xxxxxx>
Date: Fri, 29 Jun 2007 00:00:45 +0200
Cc: David Chinner <dgc@xxxxxxx>, linux-pm <linux-pm@xxxxxxxxxxxxxx>, "'linux-kernel@xxxxxxxxxxxxxxx'" <linux-kernel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, LinuxRaid <linux-raid@xxxxxxxxxxxxxxx>, LVM general discussion and development <linux-lvm@xxxxxxxxxx>, David Robinson <zxvdr.au@xxxxxxxxx>, David Greaves <david@xxxxxxxxxxxx>
In-reply-to: <200706281727.35430.rjw@xxxxxxx>
References: <46744065.6060605@xxxxxxxxxxxx> <20070618145007.GE85884050@xxxxxxx> <20070627204924.GA4777@xxxxxx> <200706281727.35430.rjw@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Thu 2007-06-28 17:27:34, Rafael J. Wysocki wrote:
> On Wednesday, 27 June 2007 22:49, Pavel Machek wrote:
> > Hi!
> > 
> > > FWIW, I'm on record stating that "sync" is not sufficient to quiesce an 
> > > XFS
> > > filesystem for a suspend/resume to work safely and have argued that the 
> > > only
> > 
> > Hmm, so XFS writes to disk even when its threads are frozen?
> > 
> > > safe thing to do is freeze the filesystem before suspend and thaw it after
> > > resume. This is why I originally asked you to test that with the other 
> > > problem
> > 
> > Could you add that to the XFS threads if it is really required? They
> > do know that they are being frozen for suspend.
> 
> Well, do you remember the workqueues?  They are still nonfreezable.

Oops, that would explain it :-(. Can we make XFS stop using them?
                                                                        Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


<Prev in Thread] Current Thread [Next in Thread>