Skip to contentSkip to conversation

multipath-tools: add cciss_tur checker to CCISS arrays

RFC PATCH In review Xose Vazquez Perez 2 participants 2 messages Jul 5, 2018 – Jul 6, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 multipath-tools: add cciss_tur checker to CCISS arrays

In cf87a17ee840aafbbc6166f663963e5213573de7 Hannes says:

The 'normal' SG_IO tur checker has some issues with cciss, so we'd better use a dedicated path checker here.

CC Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>

---

cciss(block) driver was replaced by hpsa(scsi) in 253d2464df446456c0bba5ed4137a7be0b278aa8 the last year.

Should cciss be removed from multipath-tools?

---
 libmultipath/hwtable.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +2 -1
index d3a8d9b..c460d29 100644
@@ -199,11 +199,12 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,
 	},
 	{
-		/* Smart Array */
+		/* Smart Array CCISS */
 		.vendor        = "HP",
 		.product       = "LOGICAL VOLUME",
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 12,
+		.checker_name  = CCISS_TUR,
 	},
 	{
 		/* P2000 family */
Signature · 1 line
2.17.1
#1 lore raw
Quoted 26 lines · Xose Vazquez Perez

In cf87a17ee840aafbbc6166f663963e5213573de7 Hannes says:

The 'normal' SG_IO tur checker has some issues with cciss, so we'd better use a dedicated path checker here.

CC Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>

---

cciss(block) driver was replaced by hpsa(scsi) in 253d2464df446456c0bba5ed4137a7be0b278aa8 the last year.

Should cciss be removed from multipath-tools?

---
 libmultipath/hwtable.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
libmultipath/hwtable.c +0 -0
index d3a8d9b..c460d29 100644
@@ -199,11 +199,12 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,

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

Quoted 10 lines
libmultipath/hwtable.c +2 -1
 	},
 	{
-		/* Smart Array */
+		/* Smart Array CCISS */
 		.vendor        = "HP",
 		.product       = "LOGICAL VOLUME",
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = 12,
+		.checker_name  = CCISS_TUR,
 	},

This won't work, because these volumes are detected as "HP" "LOGICAL VOLUME", no matter whether they're attached to the cciss or the hpsa driver.

Martin

Signature · 8 lines
Dr. Martin Wilck <[email protected]>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

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