OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-270-g581aafa

Gerrit Code Review gerrit@openafs.org
Tue, 15 Jun 2010 14:36:39 -0700 (PDT)


The following commit has been merged in the master branch:
commit 581aafaa698e395bfcfb7b82b595fbdef4b11279
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Jun 8 17:28:39 2010 -0500

    GetVolume: do not wait for offlining volumes
    
    In non-DAFS GetVolume, previously we waited for a volume with
    vp->goingOffline set to go offline before we return. However, the
    fileserver afsfileprocs.c case can treat the "going offline" case and
    the "is offline" case identically, so there is no reason to wait. So
    make the fileserver call a new GetVolume variant that does not wait.
    
    Without this, all of the threads in the fileserver can potentially be
    tied up by waiting for a volume to go offline, if the volume is taking
    a long time to go offline due to an offline request following a client
    slowly accessing the volume.
    
    Change-Id: I58ae11e585852130154389d8df0567432cd0c2df
    Reviewed-on: http://gerrit.openafs.org/2124
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/viced/afsfileprocs.c |    2 +-
 src/vol/volume.c         |   21 +++++++++++++++++----
 src/vol/volume.h         |    1 +
 3 files changed, 19 insertions(+), 5 deletions(-)

-- 
OpenAFS Master Repository