Re: Freezer Patches.

From: Pavel Machek
Date: Thu Jun 02 2005 - 02:34:47 EST


Hi!

> > If sys_sync() is not working, *fix sys_sync()*. [BTW I see that
> > problem before and I think it is being worked on.] I'm *not* going to
> > work around it in refrigerator.
>
> I'm not saying sys_sync is broken. I _am_ saying that if you have
> processes submitting I/O while you're trying to sync, syncing will take
> longer and you may well still end up with dirty buffers at the end. On
> top of this, you may think freezing has failed because processes don't
> enter the refrigerator within your timelimit (assuming you have
> one).

Then simple launch sys_sync(), let it finish, *then* do
refrigeration. That way sys_sync() does not count to the timelimit.

Now, sys_sync() takes too long on some setups. That needs to be fixed,
anyway; users don't like to wait for 15 minutes after typing
"sync". Do not work around it in refrigerator.
Pavel
-
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/