freebsd-dev/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
krpc.h
nfs_bio.c
nfs_diskless.c Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
nfs_krpc.c
nfs_lock.c
nfs_lock.h
nfs_nfsiod.c
nfs_node.c
nfs_socket.c
nfs_subs.c
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
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
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