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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 29 Feb 2008 17:50:55 EST


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

Modified Files:
	afsd_init.c cm_buf.c cm_buf.h cm_dcache.c cm_dir.c cm_scache.c 
	smb.c 
Log Message:
DELTA windows-cm-buf-misc-20080229
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

(1) Add an undocumented store behind mode for use in testing.  Set 
    EnableSMBAsyncStore to 2.  When set all smb_WriteData calls are
    background writes, all calls to cm_FSync are skipped and file close
    operations do not block for dirty buffers to be written.  This 
    permits all writes to be performed in the buf_IncrSyncer thread.

(2) Do not use I64 in osi_Log() format strings as all parameters are
    converted to size_t which is 32-bit on 32-bit Windows.

(3) Reduce the number of times the cm_buf_t mutex is obtained, dropped,
    obtained, dropped in buf_IncrSyncer

(4) In buf_CleanAsyncLocked, request that a full chunk be written instead
    of just the current buffer.  cm_SetupStoreBIOD will stop at the 
    first clean buffer.  This reduces the overall number of RPCs that
    must be performed.

(5) Define CM_BUF_VERSION_BAD and use it instead of -1.



--- DELTA config follows ---
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/afsd_init.c 1.112 1.113
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_buf.c 1.62 1.63
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_buf.h 1.23 1.24
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_dcache.c 1.58 1.59
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_dir.c 1.17 1.18
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_scache.c 1.98 1.99
windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/smb.c 1.185 1.186