diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-06-15 23:11:09 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-21 11:52:40 -0400 |
commit | 32382492eb18e8e20be382a1743d0c08469d1e84 (patch) | |
tree | 8b612f29d04a0ecd39c64452a601a01f687b3fcc /lib/kobject_uevent.c | |
parent | d355e57d58193b89283b0c8153649f0427b0bdad (diff) |
iscsi_tcp: propogate EAGAIN from sendpage to libiscsi
The net layer might return -EAGAIN because it could not
get space/mem within the sock sndtimeo or becuase the tcp/ip
connection was down. For the latter we do not want to retry
because the conn/session should just be shutdown and restarted.
libiscsi knows the state of the session recovery so propogate
this error to that layer. It will either do iscsi recovery
or have us retry the operation. Right now if we have partially
sent a pdu we would always retry the IO xmit slowing down
recovery.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions