tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dirhash code
On Fri, Aug 29, 2008 at 02:36:22PM -0400, der Mouse wrote:
> >>> [...dirhash...sys/fs/...sys/kern/...]
> >> What it is used for? Why does it need to be generic?
> > This dirhash support is for accelerating directory lookup actions for
> > creation/deletion and lookup in general.
>
> That's what I thought. Am I correct in thinking that this is a
> filesystem concept? Then surely sys/fs/ is the right place....
sys/fs isn't a directory for source files; it's a directory for
subdirectories, each of which is a particular fs implementation. Since
this code is fs-independent, and we don't have a sys/vfs, I'd put it
in sys/kern.
Actually, let me strengthen that. Please *don't* put it in sys/fs.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index