]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] ibmvscsi: Add eh_host_reset_handler
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 13 Jun 2007 22:12:26 +0000 (17:12 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 17 Jun 2007 20:52:53 +0000 (15:52 -0500)
commit3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca
tree273cd6b7b751b371ef5584475456d253d4f97577
parent6c0a60ec52042ece8bf4904c91ac497188e8d70b
[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>
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/ibmvscsi/ibmvscsi.h