OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1148-g2a2206b

Gerrit Code Review gerrit@openafs.org
Thu, 28 Apr 2011 20:28:41 -0700 (PDT)


The following commit has been merged in the master branch:
commit 2a2206bfe16815a6625fee4d37520e9676d88ab4
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Apr 28 11:48:18 2011 -0500

    libafs: Use vcount, not maxvcount to trim vcaches
    
    Every five minutes we afs_ShakeLooseVCaches to try and return the
    number of vcaches in use down to the originally configured -stat level
    (when we are using dynamic vcaches). We should calculate how many
    vcaches to flush based on the number of currently active vcaches
    (afs_vcount), not the peak number (afs_maxvcount). Otherwise, once we
    exceed the configured -stat level, we will always keep trying to flush
    numerous vcaches, even if we barely have any vcaches in use.
    
    Change-Id: I875fc1d33c817dde2230946b852bb74f8ffd84c2
    Reviewed-on: http://gerrit.openafs.org/4584
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_daemons.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository