]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r259877:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Jan 2014 00:43:33 +0000 (00:43 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Jan 2014 00:43:33 +0000 (00:43 +0000)
commitca859ce90135e98f516c1e78a64483b2ae02b549
treeb2ad0d7e6e386e9711d2f5de61fd68cf4216c7bf
parente3eb2e5f070c4458f93f535b871cb20820534784
MFC r259877:
Slightly simplify expiration logic introduced in r254337.

 - Do not update the histogram for items we are any way deleting from cache.
 - Do not update the histogram if nfsrc_tcphighwater is not set.
 - Remove some extra math operations.

git-svn-id: svn://svn.freebsd.org/base/stable/9@261063 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdcache.c