Date: Wed, 13 Feb 2008 13:06:22 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200802131306.m1DD6MtO076405@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802131306.m1DD6MtO076405>