OpenAFS CVS Commit: openafs/src/afs by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 12 May 2003 11:16:25 EDT


Update of /cvs/openafs/src/afs
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1.2/openafs/src/afs

Modified Files:
      Tag: openafs-stable-1_2_x
	afs_analyze.c 
Log Message:
DELTA STABLE12-afs-analyze-avoid-potential-loop-20030423
AUTHOR shadow@dementia.org
FIXES

avoid potentially looping forever in e.g. afs_FetchStatus because
we exit afs_Analyze too early to increment busyCount, and despite having
areq->busyCount non-zero we have servers still not_busy which are already down
that we'll never talk to again. that combined with no conn means we never
touch most of afs_Analyze, exiting early with shouldRetry set.

incrementing busyCount whenever we exit with shouldRetry set should
ensure we can never end up looping forever.


--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-afs-analyze-avoid-potential-loop-20030423 openafs/src/afs/afs_analyze.c 1.6.4.4 1.6.4.5