Skip to contentSkip to conversation

multipath-tools: add new NVMe devices to hwtable

PATCH In review Xose Vazquez Perez 2 participants 7 messages Sep 13, 2025 – Oct 5, 2025 Device mapper

lore
Share & tools
lore
#0 lore raw

cover multipath-tools: add new NVMe devices to hwtable

Even if they work with the generic NVME config. It is convenient to have them as an independent config to tweak their options, compare dm-multipath against the NVMe subsystem, ...

Only two of them are missing ("Fujitsu ETERNUS AB/HB Series" and "NetApp E-Series") as requested by its vendor: https://marc.info/?t=165256933900004

Xose Vazquez Perez (4):
multipath-tools: remove checker from Huawei OceanStor NVMe
multipath-tools: add HITACHI VSP NVMe to hwtable
multipath-tools: add Infinidat InfiniBox NVMe to hwtable
multipath-tools: add VASTData Block Subsystem NVMe to hwtable

 libmultipath/hwtable.c | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
Cc Steven Schremmer <[email protected]>
Cc NetApp RDAC team <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
Signature · 1 line
2.51.0
#1 lore raw

PATCH v2 1/4 multipath-tools: remove checker from Huawei OceanStor NVMe

Based on info from fbe89f4. It was deleted from default NVMe config:
"hwtable: set 'none' as default checker for NVMe

We shouldn't be using the directio checker for NVMe, as this might cause spurious path failures under high load.
As the 'state' attribute provides reliable information about the link status it's sufficient to just check this and don't call any path checkers."

v2: add info from fbe89f4

Cc Hannes Reinecke <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 1 -
 1 file changed, 1 deletion(-)
libmultipath/hwtable.c +0 -1
index d9723f87..399545ae 100644
@@ -1121,7 +1121,6 @@ static struct hwentry default_hw[] = {
 		/* OceanStor NVMe */
 		.vendor        = "NVME",
 		.product       = "Huawei-XSG1",
-		.checker_name  = DIRECTIO,
 		.no_path_retry = 12,
 	},
 	/*
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/4 multipath-tools: add HITACHI VSP NVMe to hwtable

In reply to Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 6 ++++++
 1 file changed, 6 insertions(+)
libmultipath/hwtable.c +6 -0
index 399545ae..fb446856 100644
@@ -510,6 +510,12 @@ static struct hwentry default_hw[] = {
 		.checker_name  = DIRECTIO,
 		.detect_checker = DETECT_CHECKER_OFF,
 	},
+	{
+		// VSP NVMe
+		.vendor        = "NVME",
+		.product       = "HITACHI SVOS-RF-System",
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
 	/*
 	 * IBM
 	 */
Signature · 1 line
2.51.0
#3 lore raw

PATCH 3/4 multipath-tools: add Infinidat InfiniBox NVMe to hwtable

In reply to Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 6 ++++++
 1 file changed, 6 insertions(+)
libmultipath/hwtable.c +6 -0
index fb446856..dd3bd30c 100644
@@ -1154,6 +1154,12 @@ static struct hwentry default_hw[] = {
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.detect_prio   = DETECT_PRIO_OFF,
 	},
+	{
+		// InfiniBox NVMe
+		.vendor        = "NVME",
+		.product       = "InfiniBox",
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
 	/*
 	 * Kaminario
 	 */
Signature · 1 line
2.51.0
#4 lore raw

PATCH 4/4 multipath-tools: add VASTData Block Subsystem NVMe to hwtable

In reply to Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)
libmultipath/hwtable.c +9 -0
index dd3bd30c..2b0f17f5 100644
@@ -1416,6 +1416,15 @@ static struct hwentry default_hw[] = {
 		.no_path_retry = 30,
 		.prio_args     = "exclusive_pref_bit",
 	},
+	/*
+	 * VAST Data
+	 */
+	{
+		// Block Subsystem NVMe
+		.vendor        = "NVME",
+		.product       = "VASTData",
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
 	/*
 	 * EOL
 	 */
Signature · 1 line
2.51.0
Reviewed-by on the v1 series
#5 lore raw
In reply to Xose Vazquez Perez
Quoted 19 lines · Xose Vazquez Perez

Even if they work with the generic NVME config. It is convenient to have
them as an independent config to tweak their options, compare dm- multipath
against the NVMe subsystem, ..

Only two of them are missing ("Fujitsu ETERNUS AB/HB Series" and "NetApp E-Series")
as requested by its vendor: https://marc.info/?t=165256933900004

Xose Vazquez Perez (4):
 multipath-tools: remove checker from Huawei OceanStor NVMe
 multipath-tools: add HITACHI VSP NVMe to hwtable
 multipath-tools: add Infinidat InfiniBox NVMe to hwtable
 multipath-tools: add VASTData Block Subsystem NVMe to hwtable

 libmultipath/hwtable.c | 22 +++++++++++++++++++++-

 1 file changed, 21 insertions(+), 1 deletion(-)
Quoted 7 lines
Cc Steven Schremmer <[email protected]>
Cc NetApp RDAC team <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>

For the series:

I realize you set .no_path_retry = NO_PATH_RETRY_QUEUE for all devices. Should we use this for the generic NVMe device, too?

Martin

#6 lore raw
Quoted 2 lines · Martin Wilck

I realize you set .no_path_retry = NO_PATH_RETRY_QUEUE for all devices. Should we use this for the generic NVMe device, too?

I played it safe, because most of them are using that value. "generic" is fine as it is.