OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_11-31-g5f76de6

Gerrit Code Review
Sun, 6 May 2012 14:18:30 -0700 (PDT)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 5f76de62563d65810b7ec528ad67dc2eb0c454b3
Author: Jeffrey Altman <>
Date:   Sat May 5 19:11:07 2012 -0400

    Windows: cm_GetNewSCache drop lock to permit change
    In cm_GetNewSCache the entire LRU queue is searched for a
    cm_scache_t object that is safe to recycle.  If none are the LRU
    queue was immediately searched again without dropping the
    cm_scacheLock or taking a pause.  As a result it is quite possible
    that a thread about to release a cm_scache_t was blocked from
    doing so.
    This patchset factors some of the logic a bit differently to
    improve readability and adds new log messages to help diagnose
    the cause of a problem if no cm_scache_t ever becomes available.
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>
    (cherry picked from commit 46c1f1391b6e1b95798e183b8f34cba5c074e0ad)
    Change-Id: Ieab2d8c0e6c725d4d0048dfb57c576bcc8899ca9
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/WINNT/afsd/cm_scache.c |   42 ++++++++++++++++++++++++++----------------
 1 files changed, 26 insertions(+), 16 deletions(-)

OpenAFS Master Repository