Subject: Re: HEADS UP: tmpfs added
To: None <tech-kern@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-kern
Date: 09/11/2005 20:17:47
On Sun, Sep 11, 2005 at 07:06:24PM +0200, Julio M. Merino Vidal wrote:
> Yes, sure it's a bug, although it looks certainly strange.  I have to
> review the parts that control file system and node usage, because
> they are not efficient nor correct (as seems from this bug).

Is it possible that your memory allocate fails to grab a new page if
all the free pages are used for the buffer cache? That machine is
configured to use a lot of memorfy for the buffer cache.

> Furthermore, I suspect there is a (related) bug in the error handling
> path, because these kind of errors (ENOSPC) are often followed
> by a panic :-/

The good news is that my system didn't panic. I could unmount the tmpfs
and shutdown the system.

> Thanks for the report and for testing this!

I'm goind to test it much harder once this has been sorted out. ;-)

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/