-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2010-11-12 at 10:30 +0100, Stefan Seyfried wrote:
On Fri, 12 Nov 2010 10:26:40 +0100 Oliver Neukum <> wrote:
Difficult due to the way the freezer works. We cannot freeze tasks in state D, but NFS requires (due to POSIX) some operations to be uninterruptible.
Well but the kernel knows at freeze time if it has dirty data and then can fail suspend immediately - not after 20 seconds timeout. Or flush dirty data before freezing (I know, race condition). Combined with usable feedback to the user, this would be perfectly fine and would not unconditionally kill all suspend attempts, just because there is an unused NFS mount somewhere on the system.
I agree that the kernel should notice and abort - who best can know? And it would be better still if it could hibernate safely - but it doesn't. But the fact is that I'm having crashes when I forget to umount nfs. I wrote that script because just the day before I had a dirty crash with a lot of errors dumps, hundred of lines to the log. I had to stop alll my desktop tasks with opened data, and power off. I prefer to have that hack than having my system crash and waste a lot of time when I just want the system to sleep. At worst, leave the hack as optional, disabled. Or enabled telling the user how to disable and try if hibernation works again. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzdM9AACgkQtTMYHG2NR9XfUwCePz7CY9LIR17yh9TbIpA+goTA 9kAAnj+6FtZVCYtZIBbTtgmX8So4UCUO =hEDA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org