OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-85-g02a5202

Gerrit Code Review gerrit@openafs.org
Wed, 2 Feb 2011 18:39:58 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 63503dfda678e08fd76f5c3e5561449d663933e0
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Dec 29 11:35:17 2010 -0500

    Windows: buf_CleanAsync scp->fid == bp->fid
    
    If buf_CleanAsync or buf_CleanAsyncLocked are called
    with a non-NULL cm_scache_t parameter, that status object's
    fid must be the same as the associated cm_buf_t object.
    If not, the wrong locks will be held.
    
    If the cm_scache_t parameter is NULL and cm_FindSCache()
    returns NULL, it means that the cm_scache_t object associated
    with the bp->fid has been flushed from the cache.  cm_GetSCache()
    must therefore be called to allocate a new status object for the
    FID.  If the status object cannot be allocated, then any dirty
    data stored in the buffer will be discarded.
    
    Reviewed-on: http://gerrit.openafs.org/3604
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit b6576d8cb554af50dfe7b6d9b668bd35ff202a83)
    
    Change-Id: I41b190d15bff93be656c6f844a740cce9812ae04
    Reviewed-on: http://gerrit.openafs.org/3810
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/WINNT/afsd/cm_buf.c |   64 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 44 insertions(+), 20 deletions(-)

-- 
OpenAFS Master Repository