From owner-freebsd-commit Mon Nov 6 10:09:19 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05423 for freebsd-commit-outgoing; Mon, 6 Nov 1995 10:09:19 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05408 for cvs-all-outgoing; Mon, 6 Nov 1995 10:09:12 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05396 for cvs-sys-outgoing; Mon, 6 Nov 1995 10:09:09 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05378 ; Mon, 6 Nov 1995 10:08:57 -0800 From: John Dyson Message-Id: <199511061808.KAA05378@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c To: bde@zeta.org.au (Bruce Evans) Date: Mon, 6 Nov 1995 10:08:56 -0800 (PST) Cc: bde@zeta.org.au, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, j@uriah.heep.sax.de In-Reply-To: <199511061719.EAA25085@godzilla.zeta.org.au> from "Bruce Evans" at Nov 7, 95 04:19:25 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 926 Sender: owner-commit@FreeBSD.org Precedence: bulk > > >The sync system call (and the update daemon) works correctly > >because the MNT_ASYNC flag is > >temporarily cleared. You argument for fsync is more valid though, and > > Not good. The flag is per file system so all operations on the file system > currently being synced are slowed down. > Problem is that it is what the 4.4Lite code originally did. It should be easy to fix. However, the performance is pretty good. BTW, you mean if we do it correctly, other operations on the filesystem being synced are NOT going to be slowed down???? :-). I have a suggestion, specify what you would like, and we'll discuss it. I don't like playing guessing games as to what people THINK is the right approach. The current method is very low overhead and very simple. I will help the problem of fsync and sync through a method that does not use MNT_ASYNC. Just let me know what you would like!!! John dyson@freebsd.org