Re: A kexec approach to hibernation

From: Matthew Garrett
Date: Mon Jun 04 2007 - 09:16:43 EST


On Mon, Jun 04, 2007 at 03:10:00PM +0200, Pavel Machek wrote:
> On Mon 2007-06-04 13:20:54, Matthew Garrett wrote:
> > On Mon, Jun 04, 2007 at 12:46:21PM +0200, Pavel Machek wrote:
> >
> > > sync is perfectly safe way of telling the fs to store data on disk.
> >
> > On disk, yes. On the filesystem, no. It's valid for the data to be left
> > in the journal, for instance.
>
> Yep... then grub needs to grok the journal. It does for ext3, IIRC.

No, it only supports ext2 (and reading ext3 as if it's ext2). Right now,
the assumption that syncing during suspend will cause data to hit
something grub can read isn't a safe one.
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/