[ofa-general] [PATCH] IB/iSER: add logical unit reset support

Erez Zilber erezz at voltaire.com
Tue Jan 22 02:13:40 PST 2008


Erez Zilber wrote:
> 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 at voltaire.com>
> Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
> ---
>  drivers/infiniband/ulp/iser/iscsi_iser.c |    1 +
>  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 fd69fb3..4cd0705 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",

-- 

Roland,

This patch was sent directly to linux-scsi because it depends on patches that exist only in scsi-misc tree. You won't be able to build your tree if you try to apply this patch.

Erez




More information about the general mailing list