]> git.baikalelectronics.ru Git - kernel.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)
commit0d77aaaa91b7311c535a8bbf0fe22436062d7f22
tree273cd6b7b751b371ef5584475456d253d4f97577
parentb45f6faa5b27b48227624fe546bbbe89e174bf4d
[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