OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_3-14-g1a4e785

Gerrit Code Review gerrit@openafs.org
Mon, 10 Jun 2019 07:40:59 -0400


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 1a4e785f0d92f6e628a79bb8919085bfaa279fe6
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Fri Mar 16 09:25:18 2018 -0500

    afs: make sure to call afs_Analyze after afs_Conn
    
    The afs_Conn function is used to pick a connection for a given RPC. The
    RPC is normally wrapped within a do-while loop which calls afs_Analyze
    to handle the RPC code and manage the server connection references.
    Among other things, afs_Analyze can mark the server as down, blacklist
    idle servers, etc.
    
    There are some special cases in which we break out of this do-while loop
    early, by putting the connection reference given by afs_Conn and then
    jumping out of the loop.
    
    In these cases, be sure to call afs_Analyze to put the server connection
    we got from afs_Conn, and to handle the RPC return code, possibly
    marking the server as down or blacklisted.
    
    Reviewed-on: https://gerrit.openafs.org/13288
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit 0835d7c2a183f896096684df06258aefd297f080)
    
    Change-Id: Ic5648dbd250c33988d64284b906b3829a396a2cb
    Reviewed-on: https://gerrit.openafs.org/13511
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/afs_bypasscache.c |    7 ++++++-
 src/afs/afs_dcache.c      |   17 +++++++++++------
 2 files changed, 17 insertions(+), 7 deletions(-)

-- 
OpenAFS Master Repository