diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-02-19 21:32:10 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 07:09:04 -0500 |
commit | 309ce156aa27f29338438011d292a8d6496623d3 (patch) | |
tree | 7d0554a3a6c7c15b612b8eeb00991c0e54cdaf1e /drivers/scsi/cxgb3i | |
parent | d7b4627f5f3390a2f350f16c047b3fc3eccce6d8 (diff) |
[SCSI] libiscsi: Make iscsi_eh_target_reset start with session reset
The iscsi_eh_target_reset has been modified to attempt
target reset only. If it fails, then iscsi_eh_session_reset
will be called.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/cxgb3i')
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c index 412853c65372..b7c30585dadd 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c +++ b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c | |||
@@ -915,7 +915,7 @@ static struct scsi_host_template cxgb3i_host_template = { | |||
915 | .cmd_per_lun = ISCSI_DEF_CMD_PER_LUN, | 915 | .cmd_per_lun = ISCSI_DEF_CMD_PER_LUN, |
916 | .eh_abort_handler = iscsi_eh_abort, | 916 | .eh_abort_handler = iscsi_eh_abort, |
917 | .eh_device_reset_handler = iscsi_eh_device_reset, | 917 | .eh_device_reset_handler = iscsi_eh_device_reset, |
918 | .eh_target_reset_handler = iscsi_eh_target_reset, | 918 | .eh_target_reset_handler = iscsi_eh_recover_target, |
919 | .target_alloc = iscsi_target_alloc, | 919 | .target_alloc = iscsi_target_alloc, |
920 | .use_clustering = DISABLE_CLUSTERING, | 920 | .use_clustering = DISABLE_CLUSTERING, |
921 | .this_id = -1, | 921 | .this_id = -1, |