cvs commit: src/sys/nfsserver nfs_srvcache.c nfsrvcache.h
Mohan Srinivasan
mohans at FreeBSD.org
Fri Jun 23 00:42:26 UTC 2006
mohans 2006-06-23 00:42:26 UTC
FreeBSD src repository
Modified files:
sys/nfsserver nfs_srvcache.c nfsrvcache.h
Log:
Size the NFS server dupreq cache on the basis of nmbclusters. On servers
with low nmbclusters, we tie up too many mbclusters in the NFS duplicate
request cache. This change limits the size of the dupreq cache to 1/2
the nmbclusters (and flaots in a range of [64, 2048]).
MFC after 2 weeks.
Reported by: Steve Kargl, David O'Brien
Tested by: Steve Kargl
Revision Changes Path
1.41 +20 -2 src/sys/nfsserver/nfs_srvcache.c
1.19 +2 -2 src/sys/nfsserver/nfsrvcache.h
More information about the cvs-src
mailing list