From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Nathan Scott <nathans@sgi.com>,
kernel list <linux-kernel@vger.kernel.org>,
xfs@oss.sgi.com
Subject: Re: XFS vs. swsusp
Date: Tue, 1 Aug 2006 02:47:21 +0200 [thread overview]
Message-ID: <20060801004721.GA1869@elf.ucw.cz> (raw)
In-Reply-To: <200608010123.37466.rjw@sisk.pl>
Hi!
> > > timer driven wakeup done on the per-fs xfssyncd kernel threads,
> > > which do background metadata writeout and will write to the log
> > > periodically... but if those processes are all stopped too, you
> > > should be OK.
> >
> > Timer only wakes up xfssyncd thread, right? That's okay, as that
> > thread will be stopped.
>
> But we call sync() before kernel threads are frozen. What happens if xfssyncd
> gets woken up by the timer after the sync() and before we freeze it?
xfssyncd writes some data to disk, but that is okay (no important data
could be generated in the meantime) and then it is frozen. As we take
system snapshot after the freeze, it is okay, because image is
consistent.
I do not see a problem.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2006-08-01 0:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 21:59 XFS vs. swsusp Pavel Machek
2006-07-31 22:41 ` Nathan Scott
2006-07-31 22:53 ` Pavel Machek
2006-07-31 23:23 ` Rafael J. Wysocki
2006-08-01 0:47 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060801004721.GA1869@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=nathans@sgi.com \
--cc=rjw@sisk.pl \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox