mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-forcenewconns-even-with-one-interface-20070226
otherwise we don't discard vlserver connections when a server is "down" (cherry picked from commit 9d5de311a6c2d96ee5092d58db28fff1b5602be7)
This commit is contained in:
parent
7949736ff5
commit
9bab97f839
@ -339,14 +339,6 @@ ForceNewConnections(struct srvAddr *sap)
|
||||
if (!sap)
|
||||
return; /* defensive check */
|
||||
|
||||
/* if client is not multihomed, do nothing */
|
||||
ObtainReadLock(&afs_xinterface);
|
||||
if (afs_cb_interface.numberOfInterfaces <= 1) {
|
||||
ReleaseReadLock(&afs_xinterface);
|
||||
return;
|
||||
}
|
||||
ReleaseReadLock(&afs_xinterface);
|
||||
|
||||
ObtainWriteLock(&afs_xconn, 413);
|
||||
for (tc = sap->conns; tc; tc = tc->next)
|
||||
tc->forceConnectFS = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user