OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-54-g2ad34a2

Gerrit Code Review gerrit@openafs.org
Tue, 26 Oct 2010 17:20:39 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 2ad34a27105e591f40652e1a454ea7dc458686a1
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Jun 8 17:28:39 2010 -0500

    VGetVolume_r: do not wait for offlining volumes
    
    In VGetVolume_r, 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.
    
    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>
    (cherry picked from commit 581aafaa698e395bfcfb7b82b595fbdef4b11279)
    
    Change-Id: I403d7cb026aba26d7998d0e7b0a47d13ab5c46f3
    Reviewed-on: http://gerrit.openafs.org/2209
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/viced/afsfileprocs.c |    2 +-
 src/vol/volume.c         |   29 ++++++++++++++++++++++++++---
 src/vol/volume.h         |    1 +
 3 files changed, 28 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository