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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 25 Feb 2008 00:36:47 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_config.h smb.c smb.h 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-smb-async-store-20080224 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.30 1.79.2.31
DEVEL15-windows-smb-async-store-20080224 openafs/src/WINNT/afsd/cm_config.h 1.8.6.4 1.8.6.5
DEVEL15-windows-smb-async-store-20080224 openafs/src/WINNT/afsd/smb.c 1.118.2.62 1.118.2.63
DEVEL15-windows-smb-async-store-20080224 openafs/src/WINNT/afsd/smb.h 1.41.2.25 1.41.2.26