OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 18 Apr 2008 12:43:20 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd

Modified Files:
	cm_conn.c cm_volume.c 
Log Message:
DELTA windows-volume-status-20080418
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

A problem was discovered with cm_Analyze when serverRef instances are
marked offline.  cm_CheckOfflineVolume() was not resetting the serverRef
state.  cm_Analyze was also waiting in sleep calls when it was it is 
clear that waiting would not result in a change of state.

cm_CheckOfflineVolume() was updated to always reset the serverRef state
and indicate that the volume should be considered online for the purpose
of retrying when the serverRef state is reset to srv_not_busy.

The problems identified in the MIT dev.mit.edu stress test environment
are resolved by these changes.



--- DELTA config follows ---
windows-volume-status-20080418 openafs/src/WINNT/afsd/cm_conn.c 1.90 1.91
windows-volume-status-20080418 openafs/src/WINNT/afsd/cm_volume.c 1.52 1.53