Re: Fix SWSUSP & !SWAP

From: Andrew Morton (akpm@digeo.com)
Date: Thu Apr 24 2003 - 04:25:05 EST


Pavel Machek <pavel@ucw.cz> wrote:
>
> No, ext3 will be "unclean" during resume (you can't really unmount it
> during suspend!) and r-o mounting of ext3 will replay journal and
> cause data corruption.

Sorry, I still don't get it. Go through the steps for me:

1) suspend writes pages to disk

2) machine is shutdown

3) restart, journal replay

4) resume reads pages from disk.

Where did the corruption happen?

Please bear in mind that I don't really know how swsusp works, so tell it to
me in nice simple steps.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:12 EST