]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r202767
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)
commitd57a39400f25a4e9aa274b8bf561c4b541df7e33
treeb7545878d1b7c1571412dcbf88f06fd5913a7105
parented036ccbff7a014ec5e9c83e60dbc1bac9354267
MFC: r202767
Add a timeout for the negative name cache entries in the NFS client.
This avoids a bogus negative name cache entry from persisting forever
when another client creates an entry with the same name within the
same NFS server time of day clock tick. The mount option negnametimeo
can be used to override the default timeout interval on a
per-mount-point basis. Setting negnametimeo to 0 disables negative
name caching for the mount point.
I also fixed one obvious typo where args.timeo should be
args.maxgrouplist.

Submitted by: jhb (earlier version)
Reviewed by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@203492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/nfsclient/nfs_vfsops.c
sys/nfsclient/nfs_vnops.c
sys/nfsclient/nfsmount.h
sys/nfsclient/nfsnode.h