Date: Tue, 7 Nov 1995 00:12:57 +0800 (WST) From: Peter Wemm <peter@jhome.DIALix.COM> To: Bruce Evans <bde@zeta.org.au> Cc: dyson@freefall.freebsd.org, j@uriah.heep.sax.de, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c Message-ID: <Pine.BSF.3.91.951107000745.4726A-100000@jhome.DIALix.COM> In-Reply-To: <199511061550.CAA22468@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Nov 1995, Bruce Evans wrote:
> >> Modified: sys/ufs/ufs ufs_lookup.c
> >> Log:
> >> This commit causes UFS to perform at Linux EXT2FS metadata rates.
> >> ... Just use the -o async flag on the
> >> UFS mount. Good luck...
>
> >Great!
>
> >I will stress-test this on my /tmp partition!
>
> I think the MNT_ASYNC check in ffs_update() goes too far. It stops
> timestamps (and perhaps more important things) from being written
> immediately even for sync() and fsync().
>
> Bruce
Hmm. When I was looking over it, I was wondering if it was going to
affect things like sync-on-unmount?
Also, it seems to hit the open("file", ... | O_SYNC) as well.
Perhaps VOP_UPDATE needs to have it's fourth arg changed from a boolean
to an enumeration? 0 = dontwait, 1 = sync_unless_MNT_ASYNC, 2 =
sync_I_MEAN_IT (you get the idea.. :-)
Cheers,
-Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951107000745.4726A-100000>
