diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-02-13 13:06:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-02-13 13:06:22 +0000 |
commit | a9d8becadfeaa3feddeb007ab4ab93ed3ee3c3bb (patch) | |
tree | e5844e746601ff060b2a2e181da26dd34b844b17 /sys/fs/coda/coda_vnops.h | |
parent | 313dc11b0b7ad402a5819a72cb35c4f81522f3f5 (diff) | |
download | FreeBSD-src-a9d8becadfeaa3feddeb007ab4ab93ed3ee3c3bb.zip FreeBSD-src-a9d8becadfeaa3feddeb007ab4ab93ed3ee3c3bb.tar.gz |
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
Diffstat (limited to 'sys/fs/coda/coda_vnops.h')
-rw-r--r-- | sys/fs/coda/coda_vnops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_vnops.h b/sys/fs/coda/coda_vnops.h index 386dd07..e43b09f 100644 --- a/sys/fs/coda/coda_vnops.h +++ b/sys/fs/coda/coda_vnops.h @@ -61,7 +61,7 @@ vop_access_t coda_access; vop_readlink_t coda_readlink; vop_fsync_t coda_fsync; vop_inactive_t coda_inactive; -vop_lookup_t coda_lookup; +vop_cachedlookup_t coda_lookup; vop_create_t coda_create; vop_remove_t coda_remove; vop_link_t coda_link; |