Windows: cm_MergeStatus redirector invalidation
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 2 Dec 2011 18:36:01 +0000 (13:36 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 2 Dec 2011 23:54:20 +0000 (15:54 -0800)
commita60594ef54c1458f6778d0b16d870803e1594d41
treef85d01979ddb28c0563820f69f1ee539dd1525a3
parent2a2ae16511bae032025ffcfbbe4e78b2de1f8eff
Windows: cm_MergeStatus redirector invalidation

The redirector maintains its own cached status information which
must be updated when a DV change occurs that is not the result
of a redirector initiated data change.

If the current old DV is BAD, send a DV change notification.

If the DV has changed and request was not initiated by the
redirector, send a DV change notification.

If the request was initiated by the redirector, send a notification
for store and directory operations that result in a DV change greater
than the number of active RPCs or any other operation that results
in an unexpected DV change such as FetchStatus.

Change-Id: I6dd4c9d450901e4b5d4c8d67841e3b833cebbe1f
Reviewed-on: http://gerrit.openafs.org/6177
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/cm_scache.c