OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-113-g3cd983f

Gerrit Code Review gerrit@openafs.org
Thu, 5 May 2011 08:21:34 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 3cd983f62d4865d807b379ce7282a10f0039e76e
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.
    
    Reviewed-on: http://gerrit.openafs.org/4584
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 2a2206bfe16815a6625fee4d37520e9676d88ab4)
    
    Change-Id: Ia8074673ac8c07770bb90016502a9ea860445660
    Reviewed-on: http://gerrit.openafs.org/4621
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository