diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-06-13 18:12:26 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-17 16:52:53 -0400 |
commit | 3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca (patch) | |
tree | 273cd6b7b751b371ef5584475456d253d4f97577 /drivers/scsi/ibmvscsi/ibmvscsi.h | |
parent | 6c0a60ec52042ece8bf4904c91ac497188e8d70b (diff) |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.h b/drivers/scsi/ibmvscsi/ibmvscsi.h index 727ca7c95926..b19c2e26c2a5 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.h +++ b/drivers/scsi/ibmvscsi/ibmvscsi.h | |||
@@ -70,6 +70,7 @@ struct srp_event_struct { | |||
70 | union viosrp_iu iu; | 70 | union viosrp_iu iu; |
71 | void (*cmnd_done) (struct scsi_cmnd *); | 71 | void (*cmnd_done) (struct scsi_cmnd *); |
72 | struct completion comp; | 72 | struct completion comp; |
73 | struct timer_list timer; | ||
73 | union viosrp_iu *sync_srp; | 74 | union viosrp_iu *sync_srp; |
74 | struct srp_direct_buf *ext_list; | 75 | struct srp_direct_buf *ext_list; |
75 | dma_addr_t ext_list_token; | 76 | dma_addr_t ext_list_token; |