summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErez Zilber <erezz@voltaire.com>2008-01-22 12:06:25 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-23 13:39:43 -0600
commit90c18f3c280f80e0bfbab7c1fc4b282842ccb853 (patch)
treeb03d7a6d5e0fddc0adcf46028b0bf9fe1799f8ad
parent5b7f16804ad90e7f7a10c05b6a2e782598d9745a (diff)
downloadlinux-90c18f3c280f80e0bfbab7c1fc4b282842ccb853.tar.gz
linux-90c18f3c280f80e0bfbab7c1fc4b282842ccb853.tar.bz2
linux-90c18f3c280f80e0bfbab7c1fc4b282842ccb853.zip
[SCSI] IB/iSER: add logical unit reset support
eh_device_reset_handler was already added to scsi_host_template in iscsi_tcp, and is now added also for iscsi_iser. Signed-off-by: Erez Zilber <erezz@voltaire.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index fd69fb35e3b3..4cd07056e456 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -552,6 +552,7 @@ static struct scsi_host_template iscsi_iser_sht = {
.max_sectors = 1024,
.cmd_per_lun = ISCSI_MAX_CMD_PER_LUN,
.eh_abort_handler = iscsi_eh_abort,
+ .eh_device_reset_handler= iscsi_eh_device_reset,
.eh_host_reset_handler = iscsi_eh_host_reset,
.use_clustering = DISABLE_CLUSTERING,
.proc_name = "iscsi_iser",