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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 05 Jan 2009 11:20:21 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.h cm_callback.c cm_freelance.c cm_freelance.h cm_scache.c 
	cm_vnodeops.c 
Log Message:
DELTA DEVEL15-windows-afsd-freelance-20090105
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Bring a bit more sanity to the Freelance code:

1. Add functions cm_FreelanceFetchMountPointString and
   cm_FreelanceFetchFileType to cm_freelance.c.  These functions
   permit the MountPointString and FileType to be obtained within
   cm_GetSCache without requiring knowledge of data structures
   that should be private to cm_freelance.c

2. Enforce the rule that odd vnode values are directory objects.
   The root directory is 1 and everything else must be a multiple
   of two.

3. Use the unique field as an index into the localMountPoints
   array.

4. Fix cm_GetCallback to process freelance data refreshes on
   all objects in the freelance volume not just the root directory.
   If this is not done, an access to \\afs\foo prior to \\afs\all
   being evaluated will cause an unnecessary attempt to send a
   fetch status request to a file server and produce an alldown
   error.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/afsd.h 1.18.2.13 1.18.2.14
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.52 1.41.4.53
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_freelance.c 1.33.2.17 1.33.2.18
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_freelance.h 1.12.6.2 1.12.6.3
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.89 1.35.2.90
DEVEL15-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.94 1.69.2.95