OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-56-gbb6e38a
Gerrit Code Review
gerrit@openafs.org
Mon, 12 Oct 2009 07:39:14 -0700 (PDT)
The following commit has been merged in the master branch:
commit bb6e38a45b8b5061cd4c9613262fa015957fb8d8
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Mon Oct 5 14:00:50 2009 -0400
Windows: Readonly Volume Versioning for Windows Cache Manager
When the HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
"ReadOnlyVolumeVersioning" DWORD registry value is non-zero, the volserver
will be queried for each .readonly volume to obtain the lastUpdateTime.
The lastUpdateTime will be used as a volume version identifier for each
cm_scache_t object stored in the volume. With a known volume version,
whenever a current status is obtained for any object within the .readonly volume,
all the cached objects within that volume that have the same volume version
can share the resulting callback registration.
LICENSE MIT
Reviewed-on: http://gerrit.openafs.org/579
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/NTMakefile | 1 +
src/WINNT/afsd/afsd.h | 1 +
src/WINNT/afsd/afsd_init.c | 26 ++++++++++++++-
src/WINNT/afsd/cm_callback.c | 72 +++++++++++++++++++++++++++++++++++++++-
src/WINNT/afsd/cm_conn.c | 5 +++
src/WINNT/afsd/cm_scache.c | 75 +++++++++++++++++++++++++++++++++++-------
src/WINNT/afsd/cm_scache.h | 3 ++
src/WINNT/afsd/cm_server.c | 32 ++++++++++++++---
src/WINNT/afsd/cm_server.h | 1 +
src/WINNT/afsd/cm_volume.c | 62 +++++++++++++++++++++++++++++++---
src/WINNT/afsd/cm_volume.h | 1 +
11 files changed, 253 insertions(+), 26 deletions(-)
--
OpenAFS Master Repository