OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre7-51-g0f56ed3

Gerrit Code Review gerrit@openafs.org
Fri, 12 Aug 2011 08:56:53 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit b631ff9b93737d0452b024421c236379fc92b8c8
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Aug 4 17:08:45 2011 -0400

    Windows: after dir enum adjust dir scache LRU
    
    During a directory enumeration the directory scache object
    is reference counted so it can't be recycled.  However, if
    there are more directory entries than the maximum number
    of cached scache objects the directory scache object will
    end up being the next object to be recycled after the refcount
    is dropped.  Since the directory is clearly a hot object, before
    dropping the reference, adjust the scache LRU position so that
    it is the last object to be recycled.
    
    Fix the variable name for the directory scache to be 'dscp'
    for consistency.
    
    Reviewed-on: http://gerrit.openafs.org/5158
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit 2bce3b50ef4fd9b9bdd03daf6e8332710f541922)
    
    Change-Id: Ie4400d769a7ac2d0bfed3ccebe02760619bb76b2
    Reviewed-on: http://gerrit.openafs.org/5208
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/WINNT/afsd/cm_btree.c |   41 ++++++++++++++++++++++++++++-------------
 1 files changed, 28 insertions(+), 13 deletions(-)

-- 
OpenAFS Master Repository