freebsd-nq/sys/nfsclient
John Baldwin 03964c8e09 Enable caching of negative pathname lookups in the NFS client. To avoid
stale entries, we save a copy of the directory's modification time when
the first negative cache entry was added in the directory's NFS node.
When a negative cache entry is hit during a pathname lookup, the parent
directory's modification time is checked.  If it has changed, all of the
negative cache entries for that parent are purged and the lookup falls
back to using the RPC.  This required adding a new cache_purge_negative()
method to the name cache to purge only negative cache entries for a given
directory.

Submitted by:	mohans, Rick Macklem, Ricardo Labiaga @ NetApp
Reviewed by:	mohans
2009-02-19 22:28:48 +00:00
..
bootp_subr.c Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
krpc_subr.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
krpc.h
nfs_bio.c Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
nfs_diskless.c Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
nfs_krpc.c Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
nfs_lock.c Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
nfs_lock.h
nfs_nfsiod.c Document a few sysctls in the NFS client and server code. 2008-11-02 17:00:23 +00:00
nfs_node.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
nfs_socket.c Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
nfs_subs.c Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
nfs_vfsops.c Fix parsing of acregmin, acregmax, acdirmin and acdirmax NFS mount options 2009-01-28 07:46:35 +00:00
nfs_vnops.c Enable caching of negative pathname lookups in the NFS client. To avoid 2009-02-19 22:28:48 +00:00
nfs.h Switch the default rpc implementation for NFS back to the new code. I believe 2008-11-14 11:27:53 +00:00
nfsargs.h
nfsdiskless.h consolidate parsing of nfs root mount options in one place 2006-12-06 02:15:25 +00:00
nfsm_subs.h Consolidate the code to generate a new XID for a NFS request into a 2008-02-13 00:04:58 +00:00
nfsmount.h Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
nfsnode.h Enable caching of negative pathname lookups in the NFS client. To avoid 2009-02-19 22:28:48 +00:00
nfsstats.h
nlminfo.h