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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 18 Apr 2008 12:46:07 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_x
	cm_conn.c cm_volume.c 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-volume-status-20080418 openafs/src/WINNT/afsd/cm_conn.c 1.49.2.40 1.49.2.41
DEVEL15-windows-volume-status-20080418 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.37 1.14.4.38