KDFS-windows-rdr-user-request-file-extents-20081208
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2008 16:47:51 +0000 (16:47 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2008 16:47:51 +0000 (16:47 +0000)
commit785d3cd43c0ec55c4957ab56f3d618d299db8afe
treeb82b925c37ac30668eebe10ffb5c524191d932c7
parent174ae6d04ba694cea9bd68101f5dd4a5332d20f5
KDFS-windows-rdr-user-request-file-extents-20081208

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.
src/WINNT/afsrdr/user/RDRFunction.c
src/WINNT/afsrdr/user/RDRInit.cpp
src/WINNT/afsrdr/user/RDRPrototypes.h