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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 25 Feb 2008 00:33:54 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_config.h smb.c smb.h 
Log Message:
DELTA windows-smb-async-store-20080224
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Add two new configuration knobs to control the behavior of smb_WriteData.

HKLM\SOFTWARE\OpenAFS\Client 
  DWORD EnableSMBAsyncStore  (default: 1)
  DWORD SMBAsyncStoreSize    (default: 32K)

Instead of tying the async store size to either the chunksize (too large)
or the buffer block size (too small) provide an intermediate value that 
can be independently controlled. 

In the future it would be desireable for the async store size to be 
dynamically determined based upon measurable characteristics of the 
network.  In the meantime, 32KB is an acceptable performance compromise
that should work well on 1Gbit networks and low-speed cellular networks.



--- DELTA config follows ---
windows-smb-async-store-20080224 openafs/src/WINNT/afsd/afsd_init.c 1.110 1.111
windows-smb-async-store-20080224 openafs/src/WINNT/afsd/cm_config.h 1.13 1.14
windows-smb-async-store-20080224 openafs/src/WINNT/afsd/smb.c 1.183 1.184
windows-smb-async-store-20080224 openafs/src/WINNT/afsd/smb.h 1.67 1.68