windows-callback-server-tracking-for-readonly-vols-20090626
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Jun 2009 15:11:10 +0000 (15:11 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Jun 2009 15:11:10 +0000 (15:11 +0000)
commit100186ec2e4ca5046e1bc312918d4630de00bc7e
tree2f6b5ebc2b5cb3e8fa6de591fd7a506e702cd002
parentde374565233eea489079e102865ab6cd65ef0dbb
windows-callback-server-tracking-for-readonly-vols-20090626

LICENSE MIT

Readonly volume callbacks apply to every cm_scache_t from the
same volume.  We were already tracking the cbExpires time in
the cm_volume_t.  We need to also track the cbServerp in the
cm_volume_t so that the cm_scache_t objects can be assigned
the correct server from which the callback was issued.

Add cbServerpRO field to the cm_volume_t.  Bump the memory
map version to force a rebuild of the cache data.
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_memmap.h
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/cm_volume.h