[SCSI] libiscsi: Make iscsi_eh_target_reset start with session reset
authorJayamohan Kallickal <jayamohank@serverengines.com>
Sat, 20 Feb 2010 02:32:10 +0000 (08:02 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 3 Mar 2010 12:09:04 +0000 (17:39 +0530)
commit309ce156aa27f29338438011d292a8d6496623d3
tree7d0554a3a6c7c15b612b8eeb00991c0e54cdaf1e
parentd7b4627f5f3390a2f350f16c047b3fc3eccce6d8
[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>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/bnx2i/bnx2i_iscsi.c
drivers/scsi/cxgb3i/cxgb3i_iscsi.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h