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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 05 Oct 2006 01:39:47 EDT


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

Modified Files:
	cm_buf.c cm_daemon.c cm_dcache.c cm_dnlc.c cm_scache.c 
	cm_scache.h smb.c 
Log Message:
DELTA windows-misc-fix-20061004
AUTHOR jaltman@secure-endpoints.com

more cleanup from recent patches.  comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.

change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t. 
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found.  If not, we have saved a function call and a bunch
of lock operations.

add a lot more logging.

improve the scp mutex handling within smb_CloseFID




--- DELTA config follows ---
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_buf.c 1.35 1.36
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_daemon.c 1.22 1.23
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_dcache.c 1.35 1.36
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_dnlc.c 1.12 1.13
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_scache.c 1.51 1.52
windows-misc-fix-20061004 openafs/src/WINNT/afsd/cm_scache.h 1.26 1.27
windows-misc-fix-20061004 openafs/src/WINNT/afsd/smb.c 1.138 1.139