]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r202767
authorrmacklem <rmacklem@FreeBSD.org>
Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)
commit198b2ace3db496b25af6071bc2cbdf628b645d4f
treeb7545878d1b7c1571412dcbf88f06fd5913a7105
parent4a32e61c7194d6066d53ab2352ca5967efc78173
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
sys/nfsclient/nfs_vfsops.c
sys/nfsclient/nfs_vnops.c
sys/nfsclient/nfsmount.h
sys/nfsclient/nfsnode.h