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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 22 Feb 2008 19:17:36 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_access.c cm_btree.c cm_buf.c cm_buf.h 
	cm_callback.c cm_dcache.c cm_dcache.h cm_dir.c cm_freelance.c 
	cm_ioctl.c cm_memmap.h cm_scache.c cm_scache.h cm_server.c 
	cm_vnodeops.c cm_volume.c rawops.c smb.c smb.h smb3.c 
Log Message:
DELTA DEVEL15-windows-afsd-20080222
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

1. Change RxEnableHotThread default to 'on'

2. Add a 'hash' value to the cm_fid_t structure in order to speed up cm_FidCmp().
   Add cm_SetFid() for use in constructing a fid complete with the hash.

3. Redefine the BUF_HASH and BUF_FILEHASH in terms of the cm_fid_t hash which
   has a better distribution

4. Modify cm_ConsiderPrefetch to evaluate the amount of data in the most recent
   read request instead of the next chunkSize.  cm_chunkSize can be dozens or
   hundreds of buffers.  As a result too much time is spent performing the
   evaluation.

5. Fix the usage of cm_scache_t bufCreateLock.  The purpose of this lock is
   to prevent the creation of new buffers while a truncation is being performed.
   All references to bufCreateLock have been removed except in two places:
   i.  a write-lock surrounding the function that calls buf_Truncate()
   ii. a read-lock within buf_GetNewLocked() that actually allocates new
       buffers

6. Modify the CM_CONFIG_DATA_MAGIC value to include a CM_CONFIG_DATA_VERSION
   number which value be used to force the replacement of the cache file
   contents when incompatible changes are made between releases.

7. CM_SCACHESYNC_ASYNCSTORE should not be ordered by cm_SyncOpCheckContinue

8. Avoid calls to multi_Rx if nconns == 0

9. Modify smb_WriteData to perform background writes based upon the crossing
   of buf_blockSize boundaries instead of cm_chunkSize boundaries.  This will
   slow down writes from the SMB interface but will avoid the risk of
   the CIFS client disconnecting from the AFS client SMB server.




--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.29 1.79.2.30
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_access.c 1.7.2.15 1.7.2.16
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_btree.c 1.1.2.13 1.1.2.14
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.25 1.31.2.26
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_buf.h 1.12.4.8 1.12.4.9
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.33 1.41.4.34
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_dcache.c 1.30.2.25 1.30.2.26
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_dcache.h 1.4.4.4 1.4.4.5
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_dir.c 1.4.4.10 1.4.4.11
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_freelance.c 1.33.2.6 1.33.2.7
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.35 1.73.2.36
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_memmap.h 1.3.4.6 1.3.4.7
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.58 1.35.2.59
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.19 1.21.2.20
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_server.c 1.25.2.24 1.25.2.25
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.60 1.69.2.61
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.29 1.14.4.30
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/rawops.c 1.2.4.3 1.2.4.4
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/smb.c 1.118.2.61 1.118.2.62
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/smb.h 1.41.2.24 1.41.2.25
DEVEL15-windows-afsd-20080222 openafs/src/WINNT/afsd/smb3.c 1.95.2.54 1.95.2.55