OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre4-33-g126333c

Gerrit Code Review gerrit@openafs.org
Mon, 2 May 2011 19:20:58 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 126333cff710983faeb4185b0470013d66b16717
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: I80cfbf31ba81d7cf23013c0efcea0b8ac8c341db
    Reviewed-on: http://gerrit.openafs.org/4602
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository