wv_io_timeout is an error value, but nd_timeout is a
success value. This means that an overlapped request
can be completed in error, but GetOverlappedResult can
return a success value. Instead, if a timeout is fatal,
report the status as wv_io_timeout, but if the timeout
can be retried, then report the status as wv_timeout.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2730
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
switch (hr) {\r
case WV_IO_PENDING:\r
return ND_PENDING;\r
- case WV_IO_TIMEOUT:\r
- return ND_TIMEOUT;\r
default:\r
return hr;\r
}\r