aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i/bnx2i_iscsi.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-11-11 17:34:33 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:01:36 -0500
commit3fe5ae8b4c4d3a82c755074878da7ddb9dde381e (patch)
tree2565bc75ba1ab288cff50d4290eca8312f87bb04 /drivers/scsi/bnx2i/bnx2i_iscsi.c
parent5d12c05e29fc8715e3e32f57a8cced9290d87c55 (diff)
[SCSI] libiscsi: add warm target reset tmf support
This implements warm target reset tmf support for the scsi-ml target reset callback. Previously we would just drop the session in that callback. This patch will now try a target reset and if that fails drop the session. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_iscsi.c')
-rw-r--r--drivers/scsi/bnx2i/bnx2i_iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
index 89e84c302aa0..070118a8f184 100644
--- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
+++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
@@ -2028,7 +2028,7 @@ struct iscsi_transport bnx2i_iscsi_transport = {
2028 ISCSI_USERNAME | ISCSI_PASSWORD | 2028 ISCSI_USERNAME | ISCSI_PASSWORD |
2029 ISCSI_USERNAME_IN | ISCSI_PASSWORD_IN | 2029 ISCSI_USERNAME_IN | ISCSI_PASSWORD_IN |
2030 ISCSI_FAST_ABORT | ISCSI_ABORT_TMO | 2030 ISCSI_FAST_ABORT | ISCSI_ABORT_TMO |
2031 ISCSI_LU_RESET_TMO | 2031 ISCSI_LU_RESET_TMO | ISCSI_TGT_RESET_TMO |
2032 ISCSI_PING_TMO | ISCSI_RECV_TMO | 2032 ISCSI_PING_TMO | ISCSI_RECV_TMO |
2033 ISCSI_IFACE_NAME | ISCSI_INITIATOR_NAME, 2033 ISCSI_IFACE_NAME | ISCSI_INITIATOR_NAME,
2034 .host_param_mask = ISCSI_HOST_HWADDRESS | ISCSI_HOST_NETDEV_NAME, 2034 .host_param_mask = ISCSI_HOST_HWADDRESS | ISCSI_HOST_NETDEV_NAME,