Re: Corrupted files after suspend to disk

Rafael J. Wysocki
2012-02-16T23:16:14Z

On Friday, February 17, 2012, richard -rw- weinberger wrote:
> On Thu, Feb 16, 2012 at 11:26 PM, Alan Stern <stern@rowland.harvard.edu> wrote:
> > On Thu, 16 Feb 2012, Rafael J. Wysocki wrote:
> >
> >> > FWIW, we've been seeing a number of hard to diagnose failures
> >> > with suspend to disk for the last few releases in Fedora.
> >> > Eric Sandeen has been chasing https://bugzilla.redhat.com/show_bug.cgi?id=744275
> >> > for a while, but there's no smoking gun that really explains what's
> >> > getting into these states. Further complicating things, is that it
> >> > doesn't seem to be 100% reproducable.
> >>
> >> I wonder if that's reproducible with the filesystems freezing patch I posted
> >> some time ago (it will need some rebasing to apply to the current mainline or
> >> 3.2.y).
>
> Where can I find this patch?
> I'll happily test it.
> But it may take some time as the bug is not easy to reproduce.

This is the last version posted:

http://marc.info/?l=linux-kernel&m=132775832509351&w=4

However, it only may help if you use the kernel-based hibernation i.e.
"echo disk > /sys/power/state" (that may be worth testing without the
patch too, but Fedora is using this AFAICS, so it probably has that
problem too).

Thanks,
Rafael