Subject: Re: lfs panic on NetBSD-4.0_BETA2
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Eric Haszlakiewicz <erh@swapsimple.com>
List: tech-kern
Date: 12/19/2006 16:47:15
On Tue, Dec 19, 2006 at 01:03:49PM -0500, Thor Lancelot Simon wrote:
> On Tue, Dec 19, 2006 at 06:22:09PM +0100, Joerg Sonnenberger wrote:
> > On Tue, Dec 19, 2006 at 11:58:10AM -0500, Blair Sadewitz wrote:
> > > Oh?  Simply by using it, or is there a specific operation?
> > 
> > Simply by using it. It should be noted that it is heavily using mmap and
> > msyncing ever chunk once it is done, so with enough bandwidth it can
> > easily pressure LFS a lot.
> 
> I will note once again that this is severely buggy application behavior,
> and that LFS will never -- and can never -- comfortably accomodate an
> application which insists on abusing msync in this way: every single
> call to msync will cause a partial-segment write.

	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?

eric