DEVEL15-windows-callback-server-tracking-for-readonly-vols-20090626
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Jun 2009 15:12:12 +0000 (15:12 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Jun 2009 15:12:12 +0000 (15:12 +0000)
commitc80f6f0b3367ebbbaa8fc9aee16cd6c63a1e73fc
tree50466e4b78a7ce182fb31db1b4b007e8d91d2f73
parentdf4404771a9bfb8fff217b703761d0b93c3e685d
DEVEL15-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.

(cherry picked from commit 100186ec2e4ca5046e1bc312918d4630de00bc7e)
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_memmap.h
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/cm_volume.h