Date: Tue, 20 Oct 1998 10:10:58 -0400 (EDT) From: Robert Huff <rhuff@cybercom.net> To: freebsd-hackers@FreeBSD.ORG Subject: Re: softupdates and sync Message-ID: <199810201410.KAA23761@shell1.cybercom.net> In-Reply-To: <45017153@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra writes: > I haven't studied the code, but I know what the documentation > says. It says, "sync() may return before the buffers are > completely flushed." It doesn't say that if you run it a second > time, it will make sure that the first sync() has completed. > There's no stated guarantee of that kind. So, short of umount, is there a program (or system call that can be turned into a program) that will cause the filesystem to _immediately_ flush unwritten buffers? Robert Huff To: freebsd-hackers@freebsd.org Subject: Re: softupdates and sync In-Reply-To: <45017153@toto.iv> X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid --text follows this line-- John Polstra writes: > I haven't studied the code, but I know what the documentation > says. It says, "sync() may return before the buffers are > completely flushed." It doesn't say that if you run it a second > time, it will make sure that the first sync() has completed. > There's no stated guarantee of that kind. So, short of umount, is there a program (or system call that can be turned into a program) that will cause the filesystem to _immediately_ flush unwritten buffers? Robert Huff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810201410.KAA23761>