]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-volume-status-20080418
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 18 Apr 2008 17:46:07 +0000 (17:46 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 18 Apr 2008 17:46:07 +0000 (17:46 +0000)
commita03cad17d8c84860340b32785163d358657766f4
treed40db00a18ff603f50edd9ffe2d9be19af181fb6
parent6a64ca8122009f9799ffcef589314160b46fbcc4
DEVEL15-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.

(cherry picked from commit c3eb805fc0309efca059a26b946eb4350417867e)
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_volume.c