Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 1998 01:11:22 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: sync writes with softupdates enabled 
Message-ID:  <199811031711.BAA24579@spinner.netplex.com.au>
In-Reply-To: Your message of "Mon, 02 Nov 1998 16:30:29 %2B1100." <98Nov2.163001est.40354@border.alcanet.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote:
> Mike Smith <mike@smith.net.au> wrote:
> >Now that this has been committed, can we have some feedback from people 
> >using mmap heavily on -current?
> 
> There are no longer any sync writes as a result of using an MMAP'd
> history file in inn.  There is no obvious corruption of history file
> or associated .pag file.
> 
> Note that there is a similar bug in 2.2.x.  The fix is similar, but
> needs some thought since there appears to be a problem with the
> parameters to vm_object_page_clean().  In particular, `syncio' is
> defined as boolean_t, as passed as the `waitfor' argument to
> VOP_FSYNC() - which is MNT_ASYNC or MNT_SYNC elsewhere.  I haven't
> had the time to work out the correct definitions.

Use TRUE and FALSE instead of OBJPC_SYNC and 0.

> Peter

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811031711.BAA24579>