Skip to contentSkip to conversation

multipath-tools: Remove NetApp IBM Nseries code

PATCH In review Martin George 2 participants 3 messages Jul 10, 2016 – Jul 12, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: Remove NetApp IBM Nseries code

Remove the NetApp IBM Nseries code due to the following reasons:

1) The NetApp IBM Nseries product is obsolete now.

2) Even earlier, the NetApp IBM Nseries product line never used a VID/PID of "IBM" & "Nseries" respectively. Instead, it always used the same VID/PID of "NETAPP" & "LUN" itself, similar to the ONTAP product line. So this piece of code was redundant from the beginning itself.

---
 libmultipath/hwtable.c     | 14 --------------
 multipath/multipath.conf.5 |  2 +-
 2 files changed, 1 insertion(+), 15 deletions(-)
libmultipath/hwtable.c +0 -14
index a89ea87..140e802 100644
@@ -770,20 +770,6 @@ static struct hwentry default_hw[] = {
 		.retain_hwhandler = RETAIN_HWHANDLER_ON,
 		.detect_prio   = DETECT_PRIO_ON,
 	},
-	{
-		/* IBM NSeries */
-		.vendor        = "IBM",
-		.product       = "Nseries.*",
-		.features      = "1 queue_if_no_path",
-		.hwhandler     = DEFAULT_HWHANDLER,
-		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = NO_PATH_RETRY_UNDEF,
-		.minio         = 128,
-		.prio_name     = PRIO_ONTAP,
-		.prio_args     = NULL,
-	},
 	/*
 	 * NEXENTA
 	 *
multipath/multipath.conf.5 +1 -1
index 709ab3c..0b4d366 100644
@@ -224,7 +224,7 @@ accepts the optional prio_arg \fIexclusive_pref_bit\fR.
 .TP
 .I ontap
 (Hardware-dependent)
-Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries.
+Generate the path priority for NetApp ONTAP class arrays.
 .TP
 .I rdac
 (Hardware-dependent)
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Martin George

Remove the NetApp IBM Nseries code due to the following reasons:

1) The NetApp IBM Nseries product is obsolete now.

This really doesn't matter.

Quoted 5 lines

2) Even earlier, the NetApp IBM Nseries product line never used a VID/PID of "IBM" & "Nseries" respectively. Instead, it always used the same VID/PID of "NETAPP" & "LUN" itself, similar to the ONTAP product line. So this piece of code was redundant from the beginning itself.

OK, thank you for the notice.

Quoted 37 lines
---
 libmultipath/hwtable.c     | 14 --------------
 multipath/multipath.conf.5 |  2 +-
 2 files changed, 1 insertion(+), 15 deletions(-)
libmultipath/hwtable.c +0 -14
index a89ea87..140e802 100644
@@ -770,20 +770,6 @@ static struct hwentry default_hw[] = {
 		.retain_hwhandler = RETAIN_HWHANDLER_ON,
 		.detect_prio   = DETECT_PRIO_ON,
 	},
-	{
-		/* IBM NSeries */
-		.vendor        = "IBM",
-		.product       = "Nseries.*",
-		.features      = "1 queue_if_no_path",
-		.hwhandler     = DEFAULT_HWHANDLER,
-		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = -FAILBACK_IMMEDIATE,
-		.rr_weight     = RR_WEIGHT_NONE,
-		.no_path_retry = NO_PATH_RETRY_UNDEF,
-		.minio         = 128,
-		.prio_name     = PRIO_ONTAP,
-		.prio_args     = NULL,
-	},
 	/*
 	 * NEXENTA
 	 *
multipath/multipath.conf.5 +0 -0
index 709ab3c..0b4d366 100644

multipath/multipath.conf.5 accepts the optional prio_arg \fIexclusive_pref_bit\fR. · line 230

Quoted 8 lines
multipath/multipath.conf.5 +1 -1
@@ -224,7 +224,7 @@ accepts the optional prio_arg \fIexclusive_pref_bit\fR.
 .TP
 .I ontap
 (Hardware-dependent)
-Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries.
+Generate the path priority for NetApp ONTAP class arrays.
 .TP
 .I rdac
 (Hardware-dependent)

But I would like to preserve that text in the man page.

#2 lore raw
Quoted 17 lines · Xose Vazquez Perez
Quoted 6 lines
multipath/multipath.conf.5 +0 -0
index 709ab3c..0b4d366 100644

multipath/multipath.conf.5 accepts the optional prio_arg \fIexclusive_pref_bit\fR. · line 230

Quoted 8 lines
multipath/multipath.conf.5 +1 -1
@@ -224,7 +224,7 @@ accepts the optional prio_arg \fIexclusive_pref_bit\fR.
  .TP
  .I ontap
  (Hardware-dependent)
-Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries.
+Generate the path priority for NetApp ONTAP class arrays.
  .TP
  .I rdac
  (Hardware-dependent)

But I would like to preserve that text in the man page.

Ok, fair enough. So only the hwtable.c needs to be updated here for this IBM Nseries change.

-Martin