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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 05 Jan 2009 11:09:34 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-kdfs/src/WINNT/afsd

Modified Files:
      Tag: openafs-windows-kdfs-ifs-branch
	afsd.h cm_callback.c cm_freelance.c cm_freelance.h cm_scache.c 
	cm_vnodeops.c 
Log Message:
DELTA KDFS-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-windows-kdfs-ifs-branch follows ---
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/afsd.h 1.27.2.5 1.27.2.6
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_callback.c 1.82.2.14 1.82.2.15
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_freelance.c 1.43.2.9 1.43.2.10
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_freelance.h 1.14 1.14.2.1
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_scache.c 1.105.2.23 1.105.2.24
KDFS-windows-afsd-freelance-20090105 openafs/src/WINNT/afsd/cm_vnodeops.c 1.141.2.25 1.141.2.26