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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 09 Nov 2007 19:15:56 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_callback.c cm_daemon.c cm_scache.c cm_volume.c cm_volume.h 
Log Message:
DELTA DEVEL15-windows-readonly-volume-callbacks-20071109
AUTHOR jaltman@secure-endpoints.com

A .readonly volume callback applies to the entire volume.  Track it
in the cm_volume_t cbExpiresRO field and apply it to all cm_scache_t
objects with valid callbacks that are associated with that volume upon
each daemon callback check.  This will prevent premature callback
expiration.

Also, attempt to automatically refresh the callbacks every 30 minutes
by obtaining a callback on the volume root.  This value is configurable
with the "daemonCheckVolCBInterval" registry value.

Change from osi_Time() to time() for expiration values in order to
permit conversion to human readable values in cmdebug.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-readonly-volume-callbacks-20071109 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.21 1.41.4.22
DEVEL15-windows-readonly-volume-callbacks-20071109 openafs/src/WINNT/afsd/cm_daemon.c 1.16.4.17 1.16.4.18
DEVEL15-windows-readonly-volume-callbacks-20071109 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.47 1.35.2.48
DEVEL15-windows-readonly-volume-callbacks-20071109 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.18 1.14.4.19
DEVEL15-windows-readonly-volume-callbacks-20071109 openafs/src/WINNT/afsd/cm_volume.h 1.5.6.5 1.5.6.6