Subject: NAMECACHE_ENTER_REVERSE (Re: CVS commit: src/sys/kern)
To: None <firstname.lastname@example.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 11/29/2006 04:46:24
> Module Name: src
> Committed By: christos
> Date: Wed Oct 25 18:56:39 UTC 2006
> Modified Files:
> src/sys/kern: vfs_cache.c
> Log Message:
> enable namecache enter reverse for linux procfs lookups.
> XXX: how expensive is that?
> To generate a diff of this commit:
> cvs rdiff -r1.65 -r1.66 src/sys/kern/vfs_cache.c
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
it's wrong because our name cache is optional.
ie. a filesystem is free to choose not to use it at all.
(besides, i don't think it works as linux procfs expects,
because there entries are not pinned.)
if vnode -> name translation is really necessary, it should be
implemented in upper layers. (caller of VOPs, not filesystems.)