]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs/nd: do not convert wv_io_timeout to nd_timeout
authorSean Hefty <sean.hefty@intel.com>
Fri, 5 Mar 2010 18:53:35 +0000 (10:53 -0800)
committerSean Hefty <sean.hefty@intel.com>
Fri, 5 Mar 2010 18:53:35 +0000 (10:53 -0800)
commitdc6feb1b1a19e0f4b888b3d1e4563fd22cc48af3
tree12c179425f22e22af222cfcf8c0e2dcba0d0ce02
parent300de0bd7f1c968103f5020d38828b4dbc2f57b3
winverbs/nd: do not convert wv_io_timeout to nd_timeout

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>