Date: Fri, 23 Jun 2006 00:42:26 +0000 (UTC) From: Mohan Srinivasan <mohans@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_srvcache.c nfsrvcache.h Message-ID: <200606230042.k5N0gQed026447@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606230042.k5N0gQed026447>
