Subject: Re: lfs panic on NetBSD-4.0_BETA2
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 12/19/2006 23:49:12
On Tue, Dec 19, 2006 at 04:47:15PM -0600, Eric Haszlakiewicz wrote:
> 	Do you mean that the buggy part of it is that it is calling msync
> so _often_?  This should be no worse than calling fsync() often, right?

It shouldn't call msync at all as the VM subsystem will write the dirty
pages back to disk anyway. Leaving it to the VM subsystem has the
additional advantage of potentially reducing disk fragmentation
dramatically, esp. during fast downloads.

Joerg