From owner-freebsd-hackers Tue Oct 20 07:11:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA19557 for freebsd-hackers-outgoing; Tue, 20 Oct 1998 07:11:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zephyr.cybercom.net (zephyr.cybercom.net [209.21.146.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA19552 for ; Tue, 20 Oct 1998 07:11:32 -0700 (PDT) (envelope-from rhuff@cybercom.net) Received: from shell1.cybercom.net (rhuff@shell1.cybercom.net [209.21.136.6]) by zephyr.cybercom.net (8.8.7/8.8.7) with ESMTP id KAA09026 for ; Tue, 20 Oct 1998 10:10:59 -0400 (EDT) Received: (from rhuff@localhost) by shell1.cybercom.net (8.8.5/8.8.5) id KAA23761; Tue, 20 Oct 1998 10:10:58 -0400 (EDT) Date: Tue, 20 Oct 1998 10:10:58 -0400 (EDT) From: Robert Huff Message-Id: <199810201410.KAA23761@shell1.cybercom.net> 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 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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