PATCH: Forcible delaying of UFS (soft)updates

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sat Apr 12 01:07:47 PDT 2003


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.

-- 
brandon s allbery [openafs/solaris/japh/freebsd] allbery at kf8nh.apk.net
system administrator [linux/heimdal/too many hats] allbery at ece.cmu.edu
electrical and computer engineering                              KF8NH
carnegie mellon university  [better check the oblivious first -ke6sls]



More information about the freebsd-stable mailing list