OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre1-143-g23d6287

Gerrit Code Review gerrit@openafs.org
Tue, 8 Feb 2011 06:55:08 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit fb1bc201648969e29571252e210aba370b9e5c86
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Jan 26 20:10:57 2011 -0500

    Windows: Correct cm_volume locking
    
    cm_volume_t flags was used for two categories of flags.  The first
    protected by the cm_volume_t->rw lock.  The second protected by
    the global cm_volumeLock.  Separate the flags field into two
    afs_uint16 fields and break the flag space into FLAG and QFLAG.
    
    Add assertions to the volume LRU functions to ensure that they
    are always called with cm_volumeLock write-locked.
    
    Correct two locations where cm_AdjustVolumeLRU() was called
    read-locked instead of write-locked.
    
    Reviewed-on: http://gerrit.openafs.org/3760
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit 962a95c21cc82a8bbb1dc1233c91acd7236fc8e4)
    
    Change-Id: I6c60dd770057f665f66bf3cea2d653bbe2524979
    Reviewed-on: http://gerrit.openafs.org/3867
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/WINNT/afsd/cm_memmap.h |    2 +-
 src/WINNT/afsd/cm_volume.c |   78 +++++++++++++++++++++++++------------------
 src/WINNT/afsd/cm_volume.h |   11 ++++--
 3 files changed, 53 insertions(+), 38 deletions(-)

-- 
OpenAFS Master Repository