cvs commit: src/sys/fs/coda cnode.h coda_namecache.c coda_namecache.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
Fri Mar 14 10:12:41 PDT 2008

rwatson     2008-03-14 17:12:41 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/fs/coda          cnode.h coda_psdev.c coda_subr.c 
                         coda_subr.h coda_vnops.c coda_vnops.h 
    sys/modules/coda     Makefile 
  Removed files:         (Branch: RELENG_7)
    sys/fs/coda          coda_namecache.c coda_namecache.h 
  Merge cnode.h:1.26, coda_psdev.c:1.44, coda_subr.c:1.36,
  coda_subr.h:1.12, coda_vnops.c:1.94, coda_vnops.h:1.24,
  coda_namecache.c:1.26, coda_namecache.h:1.15, Makefile:1.18,
  from HEAD to RELENG_7:
    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.
  Revision   Changes    Path   +2 -1      src/sys/fs/coda/cnode.h   +0 -700    src/sys/fs/coda/coda_namecache.c (dead)   +0 -205    src/sys/fs/coda/coda_namecache.h (dead)   +5 -20     src/sys/fs/coda/coda_psdev.c   +30 -17    src/sys/fs/coda/coda_subr.c   +1 -1      src/sys/fs/coda/coda_subr.h  +75 -127   src/sys/fs/coda/coda_vnops.c   +1 -1      src/sys/fs/coda/coda_vnops.h   +2 -3      src/sys/modules/coda/Makefile

More information about the cvs-src mailing list