diff mbox

multipath: storagetek 6180 config

Message ID 20130108055508.GF19059@ether.msp.redhat.com (mailing list archive)
State Deferred, archived
Headers show

Commit Message

Benjamin Marzinski Jan. 8, 2013, 5:55 a.m. UTC
New StorageTek default config.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 libmultipath/hwtable.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Comments

Xose Vazquez Perez Jan. 10, 2013, 5:45 p.m. UTC | #1
On 01/08/2013 06:55 AM, Benjamin Marzinski wrote:
> New StorageTek default config.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
>  libmultipath/hwtable.c |   15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> Index: multipath-tools-120821/libmultipath/hwtable.c
> ===================================================================
> --- multipath-tools-120821.orig/libmultipath/hwtable.c
> +++ multipath-tools-120821/libmultipath/hwtable.c
> @@ -1120,6 +1120,21 @@ static struct hwentry default_hw[] = {
>  		.prio_name     = PRIO_RDAC,
>  		.prio_args     = NULL,
>  	},
> +	/* StorageTek 6180 */
> +	{
> +		.vendor        = "SUN",
> +		.product       = "SUN_6180",
> +		.features      = DEFAULT_FEATURES,
> +		.hwhandler     = "1 rdac",
> +		.pgpolicy      = GROUP_BY_PRIO,
> +		.pgfailback    = -FAILBACK_IMMEDIATE,
> +		.rr_weight     = RR_WEIGHT_NONE,
> +		.no_path_retry = NO_PATH_RETRY_QUEUE,
> +		.minio         = DEFAULT_MINIO,
> +		.minio_rq      = DEFAULT_MINIO_RQ,
> +		.checker_name  = RDAC,
> +		.prio_name     = PRIO_RDAC,
> +	},
>  	/* LSI/Engenio/NetApp E-Series RDAC storage */
>  	{
>  		.vendor        = "(LSI|ENGENIO)",
> 

These changes should also translate to the multipath.conf.defaults
file.

By the way, DEVICES in multipath.conf.defaults and hwtable.c are
a bit out of sync:

multipath.conf.defaults		hwtable.c
=======================		=========
	15 IBM			23 IBM
	4 HP			6 HP
	3 EMC			2 EMC
	-			4 DELL
	-			1 (LSI|ENGENIO)
	-			1 COMPELNT


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

Index: multipath-tools-120821/libmultipath/hwtable.c
===================================================================
--- multipath-tools-120821.orig/libmultipath/hwtable.c
+++ multipath-tools-120821/libmultipath/hwtable.c
@@ -1120,6 +1120,21 @@  static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
 	},
+	/* StorageTek 6180 */
+	{
+		.vendor        = "SUN",
+		.product       = "SUN_6180",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 rdac",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = DEFAULT_MINIO,
+		.minio_rq      = DEFAULT_MINIO_RQ,
+		.checker_name  = RDAC,
+		.prio_name     = PRIO_RDAC,
+	},
 	/* LSI/Engenio/NetApp E-Series RDAC storage */
 	{
 		.vendor        = "(LSI|ENGENIO)",