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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 02 Aug 2007 16:53:54 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
	cm_buf.c cm_buf.h cm_dir.c cm_dir.h cm_scache.c cm_vnodeops.c 
Log Message:
DELTA DEVEL15-windows-local-directory-updates-20070802
AUTHOR asanka@secure-endpoints.com

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.16 1.31.2.17
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_buf.h 1.12.4.4 1.12.4.5
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_dir.c 1.4.4.1 1.4.4.2
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_dir.h 1.4.4.1 1.4.4.2
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.39 1.35.2.40
DEVEL15-windows-local-directory-updates-20070802 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.32 1.69.2.33