windows-volume-status-20080418
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 18 Apr 2008 17:43:19 +0000 (17:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 18 Apr 2008 17:43:19 +0000 (17:43 +0000)
commitc3eb805fc0309efca059a26b946eb4350417867e
tree65a757aea1e521dbe5cf23707dfd01ac4c1397d4
parentf3056feadbd6866bddc20e040b5005baeb4c8cad
windows-volume-status-20080418

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.
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_volume.c