[SCSI] iscsi_tcp: wake xmit thread when killing session
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 10 Feb 2010 22:51:47 +0000 (16:51 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 19:40:16 +0000 (13:40 -0600)
If the connection is bad, then the xmit thread could
end up waiting a long time (up to sendtmeo seconds) in
tcp_sendpage. This patch has us set the sk_error and
wake up the xmit thread so we can quickly fail.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found