From: Jeffrey Altman Date: Fri, 10 Feb 2006 17:10:44 +0000 (+0000) Subject: viced-probe-uuid-on-old-connection-20060210 X-Git-Tag: openafs-devel-1_5_0~37 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0c77d5332da76d223b007f8e85e8d81148b17737;p=packages%2Fo%2Fopenafs.git 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. --- diff --git a/src/viced/host.c b/src/viced/host.c index 99ce60b1f..4e6aa6c8e 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);