]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-dnlc-20080226
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Feb 2008 04:55:16 +0000 (04:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Feb 2008 04:55:16 +0000 (04:55 +0000)
commit92f03f92ce90a84730f9a0ec037b858fabd43cd1
tree737f06517f77c0da1cad585cd206027cd9247ae1
parentbcbbb05645eefba808a90f76b24b34562831b0b7
DEVEL15-windows-dnlc-20080226

LICENSE MIT

Remove race conditions in the statistics code by switching to
Interlocked functions.

Speed up cm_dnlcEnter() by searching first with a read lock and
then switching to a write lock if not found.

Add HKLM\SOFTWARE\OpenAFS\Client registry values "UseDNLC" and "Debug"DNLC".
I suspect with the B+tree code that the DNLC is unnecessary overhead but
leave it on by default for now.

(cherry picked from commit 107899cefaeebe693f8025e9c0d88784facd2236)
src/WINNT/afsd/cm_dnlc.c
src/WINNT/afsd/cm_dnlc.h