Windows: Performing async work after cache invalidation
authorPeter Scott <pscott@kerneldrivers.com>
Wed, 11 Jan 2012 13:49:23 +0000 (06:49 -0700)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 Jan 2012 22:53:28 +0000 (14:53 -0800)
commit3cf5064c91af5efb5e2be80fb59db43b674d467a
treea9639341fe84e1bba192ccfc53a9cd2ebdaf4ef2
parent6fda61ba2e2290dac818b42440fac1346d05b73d
Windows: Performing async work after cache invalidation

The code now queues a work item to perform additional work on extent
processing after a cache invalidation has occurred. This additional work
involves walking the current list of extents and purging/flushing regions of
the system cache based upon the current state of the extent.
Additional changes to filter which invlidation events result in a queued
worker to perform asynchronous work.

Change-Id: I72e4e0bac2caf69e41a095ce8fc4c2e083702b5c
Reviewed-on: http://gerrit.openafs.org/6528
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h
src/WINNT/afsrdr/kernel/lib/Include/AFSDefines.h
src/WINNT/afsrdr/kernel/lib/Include/AFSStructs.h