[SCSI] libiscsi: add warm target reset tmf support
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 11 Nov 2009 22:34:33 +0000 (16:34 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:36 +0000 (12:01 -0600)
commit3fe5ae8b4c4d3a82c755074878da7ddb9dde381e
tree2565bc75ba1ab288cff50d4290eca8312f87bb04
parent5d12c05e29fc8715e3e32f57a8cced9290d87c55
[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>
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
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/libiscsi.h