summaryrefslogtreecommitdiff
path: root/drivers/scsi/constants.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-02-10 16:51:47 -0600
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 13:40:16 -0600
commitb64e77f70b8c11766e967e3485331a9e6ef01390 (patch)
treee0c0c6c935b2d7623d962d7f5984ecfc1420f8d2 /drivers/scsi/constants.c
parent9f9127fd0cfac1ccbcf4a9456b3d36bc6971355e (diff)
[SCSI] iscsi_tcp: wake xmit thread when killing session
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>
Diffstat (limited to 'drivers/scsi/constants.c')
0 files changed, 0 insertions, 0 deletions