From 0b3b4e5d0430f8e00825d1b4359d2995ce3a6214 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 13 Nov 2012 18:27:11 -0600 Subject: [PATCH] afs: Handle VNOSERVICE as a timeout For whatever reason, the fileserver uses VNOSERVICE to indicate that an Rx call was killed due to an idledead timeout. It is not used for any volume errors, so treat it like the idle dead error codes. Reviewed-on: http://gerrit.openafs.org/8462 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 22da9ec896f651f066317a85268620a7d3ac46fa) Change-Id: I58fc7aaba65683f987387ff406bd575018b46d6b Reviewed-on: http://gerrit.openafs.org/8550 Reviewed-by: Ken Dreyer Reviewed-by: Paul Smeddle Reviewed-by: Stephan Wiesand Tested-by: BuildBot --- src/afs/afs_analyze.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_analyze.c b/src/afs/afs_analyze.c index a5281d757..f5844f9be 100644 --- a/src/afs/afs_analyze.c +++ b/src/afs/afs_analyze.c @@ -635,7 +635,7 @@ afs_Analyze(struct afs_conn *aconn, struct rx_connection *rxconn, shouldRetry = 1; goto out; } - if (acode == RX_CALL_TIMEOUT || acode == RX_CALL_IDLE) { + if (acode == RX_CALL_TIMEOUT || acode == RX_CALL_IDLE || acode == VNOSERVICE) { serversleft = afs_BlackListOnce(areq, afid, tsp); if (afid) tvp = afs_FindVolume(afid, READ_LOCK); @@ -798,7 +798,7 @@ afs_Analyze(struct afs_conn *aconn, struct rx_connection *rxconn, } /* Check for bad volume data base / missing volume. */ else if (acode == VSALVAGE || acode == VOFFLINE || acode == VNOVOL - || acode == VNOSERVICE || acode == VMOVED) { + || acode == VMOVED) { struct cell *tcell; int same; -- 2.39.5