Subject: Re: Simple thought...
To: NetBSD-current Discussion List <>
From: Greg A. Woods <>
List: current-users
Date: 06/14/2002 13:25:02
[ On Tuesday, June 11, 2002 at 17:22:13 (-0700), Bill Studenmund wrote: ]
> Subject: Re: Simple thought...
> So there are three caches going on. There's the data describing the
> directory which lives in the buffer cache (the directory's file contents
> for ufs), there are the struct vodes built when you access a file in a
> directory, and there are the FS-specific bits also built when you access
> a file in a directory.

So, are the FS-specific portions of the vnode included in the vnode
cache, or not?  I thought it was, however you imply it is not by saying
there are three caches.  I don't see any tunable (in options(8) or
sysctl(3)) for this third cache, nor am I familiar enough with the vnode
code to find where it might be.  If a third cache exists for the FS-bits
of the vnode then is it not sized with NVNODE (and kern.maxvnodes)?

								Greg A. Woods

+1 416 218-0098;  <>;  <>;  <>
Planix, Inc. <>; VE3TCP; Secrets of the Weird <>