Skip to contentSkip to conversation

multipath-tools: add Pure Storage device to hardware table

PATCH In review Xose Vazquez Perez 4 participants 7 messages Jun 13, 2016 – Jun 16, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add Pure Storage device to hardware table

based on documentation provided by the manufacturer:
https://support.purestorage.com/@api/deki/files/1733/=Pure_Storage_Oracle_DB_Best_Practices.pdf?revision=2

vendor                  "PURE"
product                 "FlashArray"	(extracted from outputs)
path_selector           "round-robin 0"
path_grouping_policy    multibus
rr_min_io               1
path_checker            tur
fast_io_fail_tmo        10
dev_loss_tmo            30
Cc Benjamin Marzinski <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
libmultipath/hwtable.c +16 -0
index a126b7c..c4258e1 100644
@@ -1195,6 +1195,22 @@ static struct hwentry default_hw[] = {
 		.minio         = 128,
 	},
 	/*
+	 * Pure Storage, Inc.
+	 *
+	 * Maintainer : Christophe Varoqui
+	 * Mail : [email protected]
+	 */
+	{
+		.vendor        = "PURE",
+		.product       = "FlashArray",
+		.selector      = "round-robin 0",
+		.pgpolicy      = MULTIBUS,
+		.minio         = 1,
+		.checker_name  = TUR,
+		.fast_io_fail  = 10,
+		.dev_loss      = 30,
+	},
+	/*
 	 * EOL
 	 */
 	{
Signature · 1 line
2.5.5
#1 lore raw
Quoted 26 lines · Xose Vazquez Perez

based on documentation provided by the manufacturer:
https://support.purestorage.com/@api/deki/files/1733/=Pure_Storage_Oracle_DB_Best_Practices.pdf?revision=2

vendor                  "PURE"
product                 "FlashArray"	(extracted from outputs)
path_selector           "round-robin 0"
path_grouping_policy    multibus
rr_min_io               1
path_checker            tur
fast_io_fail_tmo        10
dev_loss_tmo            30
Cc Benjamin Marzinski <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
libmultipath/hwtable.c +0 -0
index a126b7c..c4258e1 100644

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1202

Quoted 8 lines
libmultipath/hwtable.c +5 -0
@@ -1195,6 +1195,22 @@ static struct hwentry default_hw[] = {
 		.minio         = 128,
 	},
 	/*
+	 * Pure Storage, Inc.
+	 *
+	 * Maintainer : Christophe Varoqui
+	 * Mail : [email protected]
+	 */

Please drop the 'Maintainer' line.
Christophe is the maintainer of the multipath-tools package itself, so everything which doesn't have an explicit owner is maintained by him anyway. Plus I think it's a bad style, appointing someone to become a maintainer without having asked first.

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
#2 lore raw
Quoted 20 lines · Hannes Reinecke

On 06/13/2016 06:30 PM, Xose Vazquez Perez wrote:
[...]

Quoted 5 lines
libmultipath/hwtable.c +0 -0
index a126b7c..c4258e1 100644

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1203

Quoted 9 lines
libmultipath/hwtable.c +5 -0
@@ -1195,6 +1195,22 @@ static struct hwentry default_hw[] = {
 		.minio         = 128,
 	},
 	/*
+	 * Pure Storage, Inc.
+	 *
+	 * Maintainer : Christophe Varoqui
+	 * Mail : [email protected]
+	 */
 

Please drop the 'Maintainer' line.
Christophe is the maintainer of the multipath-tools package itself, so everything which doesn't have an explicit owner is maintained by him anyway.

Quoted 2 lines

Plus I think it's a bad style, appointing someone to become a maintainer without having asked first.

It was made that way originally, see 1b6188ce. So I followed the stream. But I see lately any patch for new hardware includes a maintainer.

Even the controller/vendor families were disorganized.

I will do it.

#3 lore raw
In reply to Xose Vazquez Perez
Quoted 5 lines · Xose Vazquez Perez

based on documentation provided by the manufacturer:
https://support.purestorage.com/@api/deki/files/1733/=Pure_Storage_Oracle_DB_Best_Practices.pdf?revision=2

vendor "PURE"
product "FlashArray" (extracted from outputs)

Please DROP this one. It was already included by Brian Bunker <[email protected]>

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1212

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+	{
+		.vendor        = "PURE",
+		.product       = "FlashArray",
+		.selector      = "round-robin 0",
+		.pgpolicy      = MULTIBUS,
+		.minio         = 1,
+		.checker_name  = TUR,
+		.fast_io_fail  = 10,
+		.dev_loss      = 30,
+	},

Though it's a bit different. Why ?

+               .vendor        = "PURE",
+               .product       = "FlashArray",
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = "queue-length 0",
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .checker_name  = TUR,
+               .fast_io_fail  = 10,
+               .user_friendly_names = USER_FRIENDLY_NAMES_OFF,
+               .prio_name     = DEFAULT_PRIO,
+               .no_path_retry = 0,
+               .dev_loss      = 60,
+               .prio_args     = NULL,
#4 lore raw

If driver names are different between tophat and magichat you can stick with different names instead of an alias in modprobe.conf and do "install x modprobe install y" in modprobe.conf
________________________________________
From: [email protected] <[email protected]> on behalf of Xose Vazquez Perez <[email protected]>
Sent: Tuesday, June 14, 2016 3:32 PM
To: Christophe Varoqui; device-mapper development; Brian Bunker
Subject: Re: [dm-devel] [PATCH] multipath-tools: add Pure Storage device to hardware table

Quoted 5 lines · Xose Vazquez Perez

based on documentation provided by the manufacturer:
https://support.purestorage.com/@api/deki/files/1733/=Pure_Storage_Oracle_DB_Best_Practices.pdf?revision=2

vendor "PURE"
product "FlashArray" (extracted from outputs)

Please DROP this one. It was already included by Brian Bunker <[email protected]>

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1212

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+     {
+             .vendor        = "PURE",
+             .product       = "FlashArray",
+             .selector      = "round-robin 0",
+             .pgpolicy      = MULTIBUS,
+             .minio         = 1,
+             .checker_name  = TUR,
+             .fast_io_fail  = 10,
+             .dev_loss      = 30,
+     },

Though it's a bit different. Why ?

+               .vendor        = "PURE",
+               .product       = "FlashArray",
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = "queue-length 0",
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .checker_name  = TUR,
+               .fast_io_fail  = 10,
+               .user_friendly_names = USER_FRIENDLY_NAMES_OFF,
+               .prio_name     = DEFAULT_PRIO,
+               .no_path_retry = 0,
+               .dev_loss      = 60,
+               .prio_args     = NULL,

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#5 lore raw

Hello all,

Definitely we want the one we included with the queue length vs. round robin and 60 second devloss timeout. Not sure where the other one came from.

Thanks
Brian

Brian Bunker
PURE Storage, Inc.

Quoted 56 lines · On Jun 14, 2016 5:40 AM, <[email protected]> wrote:

If driver names are different between tophat and magichat you can stick with different names instead of an alias in modprobe.conf and do "install x modprobe install y" in modprobe.conf
________________________________________
From: [email protected] <[email protected]> on behalf of Xose Vazquez Perez <[email protected]>
Sent: Tuesday, June 14, 2016 3:32 PM
To: Christophe Varoqui; device-mapper development; Brian Bunker
Subject: Re: [dm-devel] [PATCH] multipath-tools: add Pure Storage device to hardware table

Quoted 2 lines · Xose Vazquez Perez

based on documentation provided by the manufacturer:

https://support.purestorage.com/@api/deki/files/1733/=Pure_Storage_Oracle_DB_Best_Practices.pdf?revision=2

Quoted 3 lines

vendor "PURE"
product "FlashArray" (extracted from outputs)

Please DROP this one. It was already included by Brian Bunker < [email protected]>

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1212

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+     {
+             .vendor        = "PURE",
+             .product       = "FlashArray",
+             .selector      = "round-robin 0",
+             .pgpolicy      = MULTIBUS,
+             .minio         = 1,
+             .checker_name  = TUR,
+             .fast_io_fail  = 10,
+             .dev_loss      = 30,
+     },

Though it's a bit different. Why ?

(quoted diff) +14 -1
+               .vendor        = "PURE",
+               .product       = "FlashArray",
+               .features      = DEFAULT_FEATURES,
+               .hwhandler     = DEFAULT_HWHANDLER,
+               .selector      = "queue-length 0",
+               .pgpolicy      = MULTIBUS,
+               .pgfailback    = -FAILBACK_IMMEDIATE,
+               .checker_name  = TUR,
+               .fast_io_fail  = 10,
+               .user_friendly_names = USER_FRIENDLY_NAMES_OFF,
+               .prio_name     = DEFAULT_PRIO,
+               .no_path_retry = 0,
+               .dev_loss      = 60,
+               .prio_args     = NULL,
 
--

dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel