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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 29 Feb 2008 17:59:54 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
	afsd_init.c cm_buf.c cm_buf.h cm_dcache.c cm_dir.c cm_scache.c 
	smb.c 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.32 1.79.2.33
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.30 1.31.2.31
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_buf.h 1.12.4.10 1.12.4.11
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_dcache.c 1.30.2.27 1.30.2.28
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_dir.c 1.4.4.12 1.4.4.13
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.62 1.35.2.63
DEVEL15-windows-cm-buf-misc-20080229 openafs/src/WINNT/afsd/smb.c 1.118.2.64 1.118.2.65