OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 26 Feb 2008 23:55:18 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd

Modified Files:
      Tag: openafs-devel-1_5_x
	cm_dnlc.c cm_dnlc.h 
Log Message:
DELTA DEVEL15-windows-dnlc-20080226
AUTHOR jaltman@secure-endpoints.com
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.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-dnlc-20080226 openafs/src/WINNT/afsd/cm_dnlc.c 1.10.4.3 1.10.4.4
DEVEL15-windows-dnlc-20080226 openafs/src/WINNT/afsd/cm_dnlc.h 1.4.6.1 1.4.6.2