Re: syncing the disks when entering sleep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, 10. Februar 2010 11:58:22 schrieb Rafael J. Wysocki:
> On Wednesday 10 February 2010, Oliver Neukum wrote:
> > Am Mittwoch, 10. Februar 2010 11:34:23 schrieb Rafael J. Wysocki:
> > > Actually, doing the sync() in the kernel is a hack that we decided not to
> > > remove just because the users space didin't do the right thing on some systems.
> > > If the user space always synced disks before suspending, we wouldn't have to
> > > do that in the kernel.
> > 
> > If you sync in user space will you not have an inevitable race condition?
> 
> Do you mean the race with applications that write to disks while the sustem is
> suspending?

Yes.

	Regards
		Oliver
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux