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

Thu, 12 Feb 2009 16:30:16 EST

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_conn.h cm_volume.c 
Log Message:
DELTA DEVEL15-windows-vmoved-vnovol-failover-20090212
FIXES 124276

A readonly volume with multiple instances was being marked alldown
when one of the instances resulted in VNOVOL because the vldb and
the indicated file server were out of sync.  The cache manager would
then attempt to re-obtain the volume location info from the vldb
for the entire timeout period.

This patch:

adds trace logging to cm_Analyze indicating which server references
are being deleted and which remain in response to a VNOVOL/VMOVED error.

adds trace logging to cm_UpdateVolumeStatusInt showing how the
new volume status value is determined.

corrects cm_Analyze() so that it doesn't corrupt the server reference
list during cm_FreeServerList() calls; doesn't orphan the server reference
list by setting *serverpp to NULL; and only re-obtains the volume info
list once per request.

--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-vmoved-vnovol-failover-20090212 openafs/src/WINNT/afsd/cm_conn.c
DEVEL15-windows-vmoved-vnovol-failover-20090212 openafs/src/WINNT/afsd/cm_conn.h
DEVEL15-windows-vmoved-vnovol-failover-20090212 openafs/src/WINNT/afsd/cm_volume.c