Re: [patch 1/1] PM: Adds remount fs ro at suspend

From: Nigel Cunningham
Date: Mon Feb 05 2007 - 16:29:25 EST


Hi.

On Fri, 2007-02-02 at 22:35 -0200, Henrique de Moraes Holschuh wrote:
> On Fri, 02 Feb 2007, Andrew Morton wrote:
> > Well the code appears simple enough, but I've not previously heard anyone
> > express a need for this feature. But I know how to cc people who might
> > have heard this.
>
> You are, now.
>
> We usually try to do it in userspace (and it gets ugly when we fail). If
> the kernel would do it, it would be very welcome.

Why do you think remounting filesystems is necessary? Are you getting
problems with some particular filesystem?

If I recall correctly, we briefly tried remounting filesystems in
Suspend2, but it created problems with logging - some files open r/w
were readonly afterwards. We then tried bdev freezing with much better
success.

Regards,

Nigel

-
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/