From: Derrick Brashear Date: Thu, 5 Aug 2004 15:48:09 +0000 (+0000) Subject: findclient-print-stolen-clients-20040805 X-Git-Tag: BP-openafs-stable-1_4_x~35 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c50f171f2c9922c6d156f33f12af40ebbcade70d;p=packages%2Fo%2Fopenafs.git findclient-print-stolen-clients-20040805 when a client is "stolen" due to a race, print it. --- diff --git a/src/viced/host.c b/src/viced/host.c index 1f2651dd6..2e99984a7 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -1545,6 +1545,9 @@ h_FindClient_r(struct rx_connection *tcon) oldClient = (struct client *)rx_GetSpecific(tcon, rxcon_client_key); if (oldClient && oldClient->tcon == tcon) { oldClient->tcon = (struct rx_connection *)0; + ViceLog(0, ("FindClient: client %x(%x) already had conn %x (host %x), stolen by client %x(%x)\n", + oldClient, oldClient->sid, tcon, + rx_HostOf(rx_PeerOf(tcon)), client, client->sid)); /* rx_SetSpecific will be done immediately below */ } client->tcon = tcon;