summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBryant G. Ly <bgly@us.ibm.com>2017-01-09 10:21:20 -0600
committerBart Van Assche <bart.vanassche@sandisk.com>2017-01-10 09:32:14 -0800
commit7c9d8d0c41b3e24473ac7648a7fc2d644ccf08ff (patch)
tree366545a3f761df00cf51ccf893bf027f7d2f8bf6 /include
parent87156518da94a696f2b27ab8945d531af2f1d339 (diff)
downloadlinux-7c9d8d0c41b3e24473ac7648a7fc2d644ccf08ff.tar.bz2
ibmvscsis: Fix srp_transfer_data fail return code
If srp_transfer_data fails within ibmvscsis_write_pending, then the most likely scenario is that the client timed out the op and removed the TCE mapping. Thus it will loop forever retrying the op that is pretty much guaranteed to fail forever. A better return code would be EIO instead of EAGAIN. Cc: stable@vger.kernel.org Reported-by: Steven Royer <seroyer@linux.vnet.ibm.com> Tested-by: Steven Royer <seroyer@linux.vnet.ibm.com> Signed-off-by: Bryant G. Ly <bgly@us.ibm.com> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions