windows-afsd-dir-prefetch-20081226
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Dec 2008 23:34:26 +0000 (23:34 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 26 Dec 2008 23:34:26 +0000 (23:34 +0000)
commit4435c4fdcc6ba21b86277cfd09b0dfa1b88989c5
treec5d215e8b3818accce52e9cfe510b5119ef043f3
parent9784a9f0cc35cf485c5f9533db9dd8247df3b7c3
windows-afsd-dir-prefetch-20081226

LICENSE MIT

when prefetching the directory buffers do not call cm_FlushFile to
discard locally modified buffers.  Instead just set the cm_scache_t
bufDataVersionLow to the current version.  out of date buffers will
therefore be ignored without requiring that locks be dropped and
reacquired and without searching all of the buffers associated with
the directory.
src/WINNT/afsd/cm_dir.c