OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_17-38-g37d7920

Gerrit Code Review gerrit@openafs.org
Sat, 20 Oct 2012 04:02:17 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 2f6b1a2321a6576c711fd317c9fbf859484afcc8
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Oct 19 08:37:25 2012 -0400

    Windows: avoid race set/clear ExtentsRequestComplete
    
    The FCB ExtentsRequestComplete KEVENT setting, clearing
    and testing was racy.  Clear the event before issuing the
    request to the service and if the request fails, set it in
    case two threads issued requests for the same FCB in parallel
    and one fails and the other succeeds.
    
    We must ensure that a clear does not mask the event being set
    prior to the request thread returning.
    
    Reviewed-on: http://gerrit.openafs.org/8255
    Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit dfcb68cdc82260f614b2efed2529dc7c559d1933)
    
    Change-Id: I4de873c060a59d6311e99703af6f846cb470eaf6
    Reviewed-on: http://gerrit.openafs.org/8273
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

-- 
OpenAFS Master Repository