mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
Windows: avoid duplicate work cm_Analyze
During VNOVOL processing, if the volume is replicated and the server reference status is "not busy", set the status to busy and avoid calling cm_SetServerBusyStatus() because that function mirrors the loop that is already being processed. Change-Id: I1c92fd02fecc92c3dcd94a33eb87fe5c2fa254ae Reviewed-on: http://gerrit.openafs.org/7411 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
9a728fd86c
commit
a9a768fb7a
@ -726,7 +726,8 @@ cm_Analyze(cm_conn_t *connp,
|
||||
osi_Log2(afsd_logp, "VNOVOL received for volume %u from server %s",
|
||||
fidp->volume, osi_LogSaveString(afsd_logp,addr));
|
||||
if (replicated) {
|
||||
cm_SetServerBusyStatus(serversp, serverp);
|
||||
if (tsrp->status == srv_not_busy)
|
||||
tsrp->status = srv_busy;
|
||||
} else {
|
||||
Sleep(2000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user