]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 230547:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Mar 2012 21:07:54 +0000 (21:07 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Mar 2012 21:07:54 +0000 (21:07 +0000)
commitf50db4b60653880d14c10840ef4505105d79e1e2
tree23ba6aa00a10ce763499a9c6e8484dc054e1bc71
parent018466ee7cbcec15b703441a47b525258cc55574
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/9@233326 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