]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: record mount point string data version
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 9 Jul 2012 04:49:13 +0000 (00:49 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Mon, 9 Jul 2012 05:37:39 +0000 (22:37 -0700)
commit606d9554e2880c2978675b7eae3fa5f53bd07c3d
treea79ff5f7c07560a024fba5e110a828fedca1ba23
parentdf46bb407a9073374337f4b8e4291e18c74e548c
Windows: record mount point string data version

The Windows cache manager stores the mount point or symlink target
string in the cm_scache_t object.  If the string is the empty string
then the target needs to be resolved.  Otherwise it is considered
up to date.  With this approach, care must be taken to ensure that
the string is erased whenever the data version changes.

This patchset records the data version of the mount point target
string in the cm_scache_t object.  Being up to date is determined
by comparing the current data version of the object to the mount
point string version.  A match and the string is up to date.

Change-Id: I4dfdc1af5894548afb35e84e77f7f607674bd7af
Reviewed-on: http://gerrit.openafs.org/7745
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_memmap.h
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/cm_vnodeops.c