diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-02-20 03:32:10 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 13:09:04 +0100 |
commit | 309ce156aa27f29338438011d292a8d6496623d3 (patch) | |
tree | 7d0554a3a6c7c15b612b8eeb00991c0e54cdaf1e /drivers/scsi/bnx2i/bnx2i_iscsi.c | |
parent | [SCSI] ipr: adds PCI ID definitions for new adapters (diff) | |
download | linux-309ce156aa27f29338438011d292a8d6496623d3.tar.xz linux-309ce156aa27f29338438011d292a8d6496623d3.zip |
[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/bnx2i/bnx2i_iscsi.c')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 1c4d1215769d..cb71dc984797 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -1989,7 +1989,7 @@ static struct scsi_host_template bnx2i_host_template = { .queuecommand = iscsi_queuecommand, .eh_abort_handler = iscsi_eh_abort, .eh_device_reset_handler = iscsi_eh_device_reset, - .eh_target_reset_handler = iscsi_eh_target_reset, + .eh_target_reset_handler = iscsi_eh_recover_target, .change_queue_depth = iscsi_change_queue_depth, .can_queue = 1024, .max_sectors = 127, |