[dm-devel] [PATCH]:[multipath-tools] Adding the hwtable for LSI generic rdac storage devices

Chandra Seetharaman sekharan at us.ibm.com
Wed Mar 11 01:17:49 UTC 2009


On Fri, 2009-03-06 at 09:38 -0700, Moger, Babu wrote:
> This patch adds the hwtable for LSI rdac generic storage. Also sets the feature pg_init_retries to maximum(50).
> 
> Signed-off-by: Babu Moger <babu.moger at lsi.com>
> 
> ---
> 
> --- multipath-tools/libmultipath/hwtable.c.orig	2009-03-04 14:33:11.000000000 -0600
> +++ multipath-tools/libmultipath/hwtable.c	2009-03-04 14:43:57.000000000 -0600
> @@ -837,6 +837,22 @@ static struct hwentry default_hw[] = {
>  		.checker_name  = RDAC,
>  		.prio_name     = PRIO_RDAC,
>  	},
> +	/* LSI Generic rdac storage */
> +	{
> +		.vendor        = "(LSI|ENGENIO)",
> +		.product       = "INF-01-00",
> +		.getuid        = DEFAULT_GETUID,
> +		.features      = "2 pg_init_retries 50",
> +		.hwhandler     = "1 rdac",
> +		.selector      = DEFAULT_SELECTOR,
> +		.pgpolicy      = GROUP_BY_PRIO,
> +		.pgfailback    = -FAILBACK_IMMEDIATE,
> +		.rr_weight     = RR_WEIGHT_NONE,
> +		.no_path_retry = 15,

you don't want to use "queue" for no path retry ?
 
> +		.minio         = DEFAULT_MINIO,
> +		.checker_name  = RDAC,
> +		.prio_name     = PRIO_RDAC,
> +	},
>  	/*
>  	 * EOL
>  	 */
> 
> 
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list