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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 10 Sep 2007 15:08:18 EDT


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.h cm_dcache.c cm_dcache.h cm_scache.h smb.h 
	smb3.c 
Log Message:
DELTA DEVEL15-windows-prefetch-executables-20070910
AUTHOR jaltman@secure-endpoints.com

This code defines a new service parameter "PrefetchExecutableExtensions"
of type REG_MULTI_SZ.  By default it is undefined and does nothing.  If
it is defined, files that match the extensions will be prefetched in
their entirety.

All of the prefetch functions now pay attention to the length parameters.
Previously, length parameters were specified on some functions in the
chain but they were ignored.  The reality was that the chunksize was
used regardless of what was indicated.

Prefetching is still optional.  If the prefetch fails during the initial
attempt you lose.  Otherwise, as many buffers as are required to satisfy
the requested prefetch length will be requested from the file server in
chunksize units.  If buffers have already been acquired, they are skipped
during the prefetch operation.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.16 1.79.2.17
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/cm_buf.h 1.12.4.6 1.12.4.7
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/cm_dcache.c 1.30.2.16 1.30.2.17
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/cm_dcache.h 1.4.4.3 1.4.4.4
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/cm_scache.h 1.21.2.14 1.21.2.15
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/smb.h 1.41.2.17 1.41.2.18
DEVEL15-windows-prefetch-executables-20070910 openafs/src/WINNT/afsd/smb3.c 1.95.2.41 1.95.2.42