Date: Mon, 6 Nov 1995 08:03:38 -0800 (PST) From: John Dyson <dyson> To: bde@zeta.org.au (Bruce Evans) Cc: 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: <199511061603.IAA29740@freefall.freebsd.org> In-Reply-To: <199511061550.CAA22468@godzilla.zeta.org.au> from "Bruce Evans" at Nov 7, 95 02:50:50 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > >> 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 > The sync system call (and the update daemone) works correctly because the MNT_ASYNC flag is temporarily cleared. You argument for fsync is more valid though, and will be corrected very soon. Actually, I am considering supporting a couple of levels of asynchness, a "safe" one that just helps speed things up with little risk, and a really fast "no holds barred" one like Linux. Perhaps the "safe" one will do meta-data updates every second or so, and the unsafe one will work like it does now?? John dyson@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511061603.IAA29740>