PATCH: Forcible delaying of UFS (soft)updates

MikeM zlists at mgm51.com
Sat Apr 12 06:55:33 PDT 2003


On 4/12/2003 at 4:07 AM Brandon S. Allbery wrote:

|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 makeany 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.
 =============

Perhaps a second parm for this patch:

	enable_suicidal_fsync 

with a default of NO






More information about the freebsd-fs mailing list