From owner-freebsd-hackers Tue Nov 3 09:12:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06711 for freebsd-hackers-outgoing; Tue, 3 Nov 1998 09:12:27 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06688 for ; Tue, 3 Nov 1998 09:12:08 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id BAA24579; Wed, 4 Nov 1998 01:11:23 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199811031711.BAA24579@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Jeremy cc: hackers@FreeBSD.ORG Subject: Re: sync writes with softupdates enabled In-reply-to: Your message of "Mon, 02 Nov 1998 16:30:29 +1100." <98Nov2.163001est.40354@border.alcanet.com.au> Date: Wed, 04 Nov 1998 01:11:22 +0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > Mike Smith 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