]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 230547:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Mar 2012 21:08:14 +0000 (21:08 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Mar 2012 21:08:14 +0000 (21:08 +0000)
commite7f9b2cc1a8e479a890128dc1c9a8da29ab7ee06
tree9781ac05b9863cfe6a13c6f0824a04a2300a9931
parent43969e2bf499c467aa6d8af05aa1cafcee007478
MFC 230547:
Add a timeout on positive name cache entries in the NFS client.  That is,
we will only trust a positive name cache entry for a specified amount of
time before falling back to a LOOKUP RPC, even if the ctime for the file
handle matches the cached copy in the name cache entry.  The timeout is
configured via a new 'nametimeo' mount option and defaults to 60 seconds.
It may be set to zero to disable positive name caching entirely.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233327 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/mount_nfs/mount_nfs.8
sys/fs/nfsclient/nfs_clvfsops.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsclient/nfsmount.h
sys/nfsclient/nfs_vfsops.c
sys/nfsclient/nfs_vnops.c
sys/nfsclient/nfsmount.h