cvs commit: src/sys/kern init_main.c vfs_cache.c vfs_lookup.c vfs_subr.c vfs_syscalls.c src/sys/sys namecache.h vnode.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Sep 27 20:44:49 PDT 2003
dillon 2003/09/27 20:44:09 PDT
Modified files:
sys/kern init_main.c vfs_cache.c vfs_lookup.c
vfs_subr.c vfs_syscalls.c
sys/sys vnode.h
Added files:
sys/sys namecache.h
Log:
namecache work stage 2: move struct namecache to its own header file and
have vnode.h include it for now. Re-engineer the namecache topology to make
it possible to track different parent directories and to make it possible
to namei/lookup paths using the namecache structure as the primary placeholder
rather then a directory vnode. Add a few minor hacks to stabilize the system
that will be removed (no longer be necessary) in stage 3. Get rid of the
leafonly sysctl and make its effect the default, but in order to avoid
doing too much in this stage it is still possible to disassociate a vnode
from its namecache entry, which a lot of filesystems (e.g. NFS) depend on
as a poor-man's way of invalidating entries. The namecache topology itself,
however, will be left intact even if a vnode is disassociated in the middle
of a path.
Revision Changes Path
1.25 +1 -0 src/sys/kern/init_main.c
1.9 +480 -130 src/sys/kern/vfs_cache.c
1.7 +1 -0 src/sys/kern/vfs_lookup.c
1.21 +8 -31 src/sys/kern/vfs_subr.c
1.18 +2 -1 src/sys/kern/vfs_syscalls.c
1.8 +9 -16 src/sys/sys/vnode.h
More information about the Commits
mailing list