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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 23 Feb 2008 02:30:21 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_buf.c cm_buf.h cm_scache.c cm_scache.h cm_vnodeops.c 
Log Message:
DELTA DEVEL15-windows-buf-scache-interlock-20080222
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Improve parallelism by using InterlockedIncrement and InterlockedDecrement
to adjust the refCount fields of cm_buf_t and cm_scache_t objects.  This
permits read locks to be used for increments and decrements but requires
a write-lock to perform any actions based upon the refCount hitting zero.

Inline cm_FidCmp to further improve performance.

Remove unused variables.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-buf-scache-interlock-20080222 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.26 1.31.2.27
DEVEL15-windows-buf-scache-interlock-20080222 openafs/src/WINNT/afsd/cm_buf.h 1.12.4.9 1.12.4.10
DEVEL15-windows-buf-scache-interlock-20080222 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.59 1.35.2.60
DEVEL15-windows-buf-scache-interlock-20080222 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.20 1.21.2.21
DEVEL15-windows-buf-scache-interlock-20080222 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.61 1.69.2.62