OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-13-gb0679bb

Gerrit Code Review gerrit@openafs.org
Sun, 25 Dec 2011 06:53:08 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 7c42f353615de2230250a4f7a4d5f78802f86700
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sat Dec 24 03:15:53 2011 -0500

    Windows: avoid race in cm_GetNewSCache
    
    The cm_scacheLock is dropped while walking the scache LRU queue.
    As a result it is possible for the cm_scache_t that is being
    considered for recycling to be accessed and moved to the head
    of the queue.
    
    Track the prev and next pointers so it is possible to detect if
    the cm_scache_t that is about to be recycled has been moved.  If
    so, restart the search from the tail.
    
    Reviewed-on: http://gerrit.openafs.org/6424
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit ff368a7ec70fca0673a21f6b283db13cabcc2286)
    
    Change-Id: Ib13ee103cf06b211ca1307e530db379825a9ad62
    Reviewed-on: http://gerrit.openafs.org/6428
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsd/cm_scache.c |   55 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 47 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository