summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda/coda_subr.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-02-13 13:06:22 +0000
committerrwatson <rwatson@FreeBSD.org>2008-02-13 13:06:22 +0000
commita9d8becadfeaa3feddeb007ab4ab93ed3ee3c3bb (patch)
treee5844e746601ff060b2a2e181da26dd34b844b17 /sys/fs/coda/coda_subr.h
parent313dc11b0b7ad402a5819a72cb35c4f81522f3f5 (diff)
downloadFreeBSD-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_subr.h')
-rw-r--r--sys/fs/coda/coda_subr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_subr.h b/sys/fs/coda/coda_subr.h
index 2b307cb..0efc081 100644
--- a/sys/fs/coda/coda_subr.h
+++ b/sys/fs/coda/coda_subr.h
@@ -36,7 +36,7 @@
struct cnode *coda_alloc(void);
void coda_free(struct cnode *cp);
struct cnode *coda_find(CodaFid *fid);
-void coda_flush(enum dc_status dcstat);
+void coda_flush(struct coda_mntinfo *mnt, enum dc_status dcstat);
void coda_testflush(void);
void coda_checkunmounting(struct mount *mp);
void coda_cacheprint(struct mount *whoIam);
OpenPOWER on IntegriCloud