cvs commit: src/sys/fs/coda cnode.h coda_psdev.c coda_subr.c
coda_subr.h coda_vnops.c coda_vnops.h src/sys/modules/coda Makefile
Robert Watson
rwatson at FreeBSD.org
Wed Feb 13 05:06:23 PST 2008
rwatson 2008-02-13 13:06:22 UTC
FreeBSD src repository
Modified files:
sys/fs/coda cnode.h coda_psdev.c coda_subr.c
coda_subr.h coda_vnops.c coda_vnops.h
sys/modules/coda Makefile
Log:
Rather than having the Coda module use its own namecache, use the global
VFS namecache, as is done by the Coda module on Linux. Unlike the Coda
namecache, the global VFS namecache isn't tagged by credential, so use
ore conservative flushing behavior (for now) when CODA_PURGEUSER is
issued by Venus.
This improves overall integration with the FreeBSD VFS, including
allowing __getcwd() to work better, procfs/procstat monitoring, and so
on. This improves shell behavior in many cases, and improves ".."
handling. It may lead to some slowdown until we've implemented a
specific access cache, which should net improve performance, but in the
mean time, lookup access control now always goes to Venus, whereas
previously it didn't.
MFC after: 1 month
Revision Changes Path
1.26 +2 -1 src/sys/fs/coda/cnode.h
1.44 +5 -20 src/sys/fs/coda/coda_psdev.c
1.36 +30 -17 src/sys/fs/coda/coda_subr.c
1.12 +1 -1 src/sys/fs/coda/coda_subr.h
1.94 +75 -127 src/sys/fs/coda/coda_vnops.c
1.24 +1 -1 src/sys/fs/coda/coda_vnops.h
1.18 +2 -3 src/sys/modules/coda/Makefile
More information about the cvs-src
mailing list