PATCH: Forcible delaying of UFS (soft)updates

M. Warner Losh imp at bsdimp.com
Sun Apr 13 21:52:54 PDT 2003


In message: <1050134860.7300.0.camel at rushlight.kf8nh.apk.net>
            "Brandon S. Allbery " KF8NH <allbery at ece.cmu.edu> writes:
: On Fri, 2003-04-11 at 23:33, Alfred Perlstein wrote:
: > * Marko Zec <zec at tel.fer.hr> [030411 19:01] wrote:
: > > - fsync() no longer flushes the buffers to disk, but returns immediately
: > > instead;
: > 
: > This is really the only bad thing I can see here, what about introducing
: > a slight delay and seeing if one can coalesce the writes?  Is this
: > part really needed?  Making fsync() not work is a good way to make
: > any sort of userland based transactional system break badly.
: 
: If you're running that kind of thing you really don't want to be using
: extended delays anyway, I'd think.

Trouble is that lots of things uses fsync behind the scenes...

Warner


More information about the freebsd-stable mailing list