OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre2-70-gc7612a4

Gerrit Code Review gerrit@openafs.org
Tue, 8 Mar 2011 04:16:31 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit c7612a49e1db924a8b8b24319754834b130c9312
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Feb 25 14:43:09 2011 -0600

    DAFS: Wait for exclusive ops in VFreeBitMapEntry_r
    
    VAllocBitmapEntry_r puts the volume in an exclusive state and drops
    VOL_LOCK when traversing the volume bitmap and updating the bitmap.
    So, VFreeBitMapEntry_r must ensure the volume is not in an exclusive
    state, to make sure that VAllocBitmapEntry_r is not updating the
    bitmap at the same time. Do so, by waiting for the volume to come out
    of exclusive state at the beginning of VFreeBitMapEntry_r.
    
    Reviewed-on: http://gerrit.openafs.org/4058
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 08ffe3e81d875b58ae5fe4c5733845d5132913a0)
    
    Change-Id: I0336bbc543828237cb9ae97ede18133b4e15100a
    Reviewed-on: http://gerrit.openafs.org/4168
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vnode.c  |   13 ++++++++++---
 src/vol/volume.c |   30 ++++++++++++++++++++++++------
 src/vol/volume.h |    9 ++++++---
 3 files changed, 40 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository