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>
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