OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1480-g17e50a4

Gerrit Code Review gerrit@openafs.org
Thu, 4 Aug 2011 19:00:55 -0700 (PDT)


The following commit has been merged in the master branch:
commit 2bce3b50ef4fd9b9bdd03daf6e8332710f541922
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.
    
    Change-Id: Ia2089fb9b47dab77abc0911ab009e5aed75ed848
    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>

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

-- 
OpenAFS Master Repository