OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-188-g2aab481

Gerrit Code Review gerrit@openafs.org
Thu, 18 Oct 2012 02:33:27 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 2aab481dfa6416ff562d1a78e4cffda3acf1ec93
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Fri Oct 12 16:31:24 2012 -0400

    libafs: Fix second pass in ShakeLooseVCaches
    
    Commit 3105c7ff introduced a two phase process for reclaiming
    vcache entries.  First go through the list and do what's possible
    without sleeping (skipping aliased dentries on Linux), then do
    a second pass only if necessary, allowing sleeping.
    
    Unfortunately the test for the end of the VLRU scan is incorrect
    and can never trigger, so this second pass was effectively disabled
    and any code that is conditional on defersleep=1 was never
    exercised.  The code to start the second scan also has issues.
    
    Fix the end of VLRU test, and also correctly set the variables
    needed to restart the scan.
    
    Change-Id: I8034cd3b79aab4f2976ab2559c13c102126480d7
    Reviewed-on: http://gerrit.openafs.org/8234
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    (cherry picked from commit a7828d50a82384e6d0fb0ad5b5a702f768029581)
    Reviewed-on: http://gerrit.openafs.org/8247

 src/afs/afs_vcache.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository