From: Jeffrey Altman Date: Fri, 10 Feb 2006 17:12:25 +0000 (+0000) Subject: STABLE14-viced-probe-uuid-on-old-connection-20060210 X-Git-Tag: openafs-stable-1_4_1-rc7~16 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e493f895ac8dfc0866632b906b816531e85c1adb;p=packages%2Fo%2Fopenafs.git STABLE14-viced-probe-uuid-on-old-connection-20060210 When we have found an existing host via Uuid, send the probe to the connection associated with the old host instead of the new one. If you send it to the new connection, we will fail to detect that the old host is no longer responding and hence that it should be removed. This should solve the 55 second delay problem seen from clients with Uuids that move addresses or sit behind a NAT. (cherry picked from commit 0c77d5332da76d223b007f8e85e8d81148b17737) --- diff --git a/src/viced/host.c b/src/viced/host.c index 72ad74d06..352344934 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -1306,7 +1306,7 @@ h_GetHost_r(struct rx_connection *tcon) if (oldHost->interface) { afsUUID uuid = oldHost->interface->uuid; - cb_conn = host->callback_rxcon; + cb_conn = oldHost->callback_rxcon; rx_GetConnection(cb_conn); H_UNLOCK; code = RXAFSCB_ProbeUuid(cb_conn, &uuid);