OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Sun, 06 Apr 2008 09:33:14 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/WINNT/afsd
Modified Files:
cm_ioctl.c cm_scache.c cm_vnodeops.c
Log Message:
DELTA windows-fid-hash-20080406
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
1. During the conversion to hash based FID comparisons the cm_GetSCache()
lookups from the cm_ioctl.c (CM_IOCTL_QOPTS_HAVE_FID) and from FIDs
returned by cm_LookupSearchProc() were broken.
2. In cm_LookupInternal(), ensure that an error is returned if rock.found
is FALSE. A failure to return an error was resulting in cm_GetSCache()
producing an object for FIDs with vnode=0,unique=0
3. cm_GetSCache(), remove the warning check for vnode=0,unique=0
4. reapply the synchronization logic to async store requests in cm_SyncOp().
The lack of synchronization is causing requests to complete out of order
which is confusing the SMB redirector when under heavy load.
--- DELTA config follows ---
windows-fid-hash-20080406 openafs/src/WINNT/afsd/cm_ioctl.c 1.114 1.115
windows-fid-hash-20080406 openafs/src/WINNT/afsd/cm_scache.c 1.106 1.107
windows-fid-hash-20080406 openafs/src/WINNT/afsd/cm_vnodeops.c 1.142 1.143