aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvscsi.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-06-13 17:12:26 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-17 15:52:53 -0500
commit3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca (patch)
tree273cd6b7b751b371ef5584475456d253d4f97577 /drivers/scsi/ibmvscsi/ibmvscsi.h
parent6c0a60ec52042ece8bf4904c91ac497188e8d70b (diff)
downloadkernel_goldelico_gta04-3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca.zip
kernel_goldelico_gta04-3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca.tar.gz
kernel_goldelico_gta04-3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca.tar.bz2
[SCSI] ibmvscsi: Add eh_host_reset_handler
Adds an eh_host_reset_handler to ibmvscsi which resets the connection to the vscsi server. This patch also adds a timer to internally issues commands to prevent client hangs in the case of a misbehaving server. Tested by modifying the VIOS such that it would occasionally drop one or more request in sequence. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.h')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvscsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.h b/drivers/scsi/ibmvscsi/ibmvscsi.h
index 727ca7c..b19c2e2 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.h
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.h
@@ -70,6 +70,7 @@ struct srp_event_struct {
union viosrp_iu iu;
void (*cmnd_done) (struct scsi_cmnd *);
struct completion comp;
+ struct timer_list timer;
union viosrp_iu *sync_srp;
struct srp_direct_buf *ext_list;
dma_addr_t ext_list_token;