]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259877:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Jan 2014 23:49:37 +0000 (23:49 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Jan 2014 23:49:37 +0000 (23:49 +0000)
commitefb2c88f0d1005aa4bcc1a1ba5dd754ddb6ef87f
tree8f42681cf50dc6bd701aeceebc98dff455afdd10
parentbad122f36fcb50b253c51200822ef05bc8634492
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/10@261051 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdcache.c