]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] IB/iSER: add logical unit reset support
authorErez Zilber <erezz@voltaire.com>
Tue, 22 Jan 2008 10:06:25 +0000 (12:06 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 19:39:43 +0000 (13:39 -0600)
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>
drivers/infiniband/ulp/iser/iscsi_iser.c

index fd69fb35e3b393cf43ce90e7922e44b2ad9cad0b..4cd07056e45689ce9a9cb1dc75814c6e9260f319 100644 (file)
@@ -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",