OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. BP--openafs-stable-1_6_x-41-ga7e9c83

Gerrit Code Review gerrit@openafs.org
Tue, 7 Sep 2010 20:47:17 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit a7e9c8316765b3b7a8933aafba3681e2e4d106ef
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Sep 2 21:05:15 2010 -0400

    Windows: Permit cm_scache rwlock to be dropped when "Stablized"
    
    The cm_buf_opts_t cm_BufStabilize() function was implemented
    such that holding the cm_scache_t.rw lock had to be exclusively
    held until cm_BufUnstablize() was called.  Unfortunately, this
    prevents using Stabilize/Unstabilize to protect the cm_scache_t
    during Flush operations as the cm_scache_t.rw lock must be
    acquired after the cm_buf_t mutex and not before it.
    
    This patchset reimplements the synchronization logic using
    the new CM_SCACHEFLAG_SIZESETTING flag and cm_SyncOp().
    
    LICENSE MIT
    
    Change-Id: Iaada83f7f3b75bb3b213b33b2399e900e48a2fbc
    Reviewed-on: http://gerrit.openafs.org/2661
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit fa961c02fbb7dc54fa4c02c38dfd07c44eb696d3)
    Reviewed-on: http://gerrit.openafs.org/2707

 src/WINNT/afsd/cm_dcache.c |   22 ++++++++++++++--------
 src/WINNT/afsd/cm_scache.c |   31 ++++++++++++++++++-------------
 src/WINNT/afsd/cm_scache.h |    1 +
 3 files changed, 33 insertions(+), 21 deletions(-)

-- 
OpenAFS Master Repository