Subject: Re: Misc layerfs questions
To: None <rslr@free.fr>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 02/26/2002 09:45:47
On Tue, 26 Feb 2002, de SAINT LEGER Rodolphe wrote:

> On Mon, 25 Feb 2002 15:21:12 -0800 (PST)
> Bill Studenmund <wrstuden@netbsd.org> wrote:
>
> The sys/kern seems to have some specific union code to read directories
> (also sys/compat/common)
>
> if it's about the vnode structs, after another look in the union
> filesystem, I've seen that it keeps references to parents directories
> in it's structures (parent vnodes are VREFed), can such vnodes
> dissapear or been reclaimed for other things ?

Ahh... Then you should be fine. I didn't know each union node kept
references on its parent dirs, though that makes a lot of sense. In that
case, the vnodes won't be in the vnode cache, so they won't be reclaimed.

Take care,

Bill