OpenAFS CVS Commit: openafs/src/WINNT/afsrdr/user by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 08 Dec 2008 11:47:51 EST


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

Modified Files:
      Tag: openafs-windows-kdfs-ifs-branch
	RDRFunction.c RDRInit.cpp RDRPrototypes.h 
Log Message:
DELTA KDFS-windows-rdr-user-request-file-extents-20081208
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Change RDR_RequestFileExtentsAsync to return a BOOL
which indicates whether or not the request should 
be retried.  When a wouldblock condition is reached
instead of simply returning the extents that have
been obtained so far and ignoring the rest, return 
what we have obtained and retry the remaining extents.
This will avoid the file system from being forced to
reissue the request.

If we subsequently receive a duplicate request for 
an extent that has already been given to the file 
system that is ok.  It will be ignored.



--- DELTA config for openafs-windows-kdfs-ifs-branch follows ---
KDFS-windows-rdr-user-request-file-extents-20081208 openafs/src/WINNT/afsrdr/user/RDRFunction.c 1.1.2.21 1.1.2.22
KDFS-windows-rdr-user-request-file-extents-20081208 openafs/src/WINNT/afsrdr/user/RDRInit.cpp 1.1.2.15 1.1.2.16
KDFS-windows-rdr-user-request-file-extents-20081208 openafs/src/WINNT/afsrdr/user/RDRPrototypes.h 1.1.2.11 1.1.2.12