Skip to contentSkip to conversation

multipath-tools: add SCST to hwtable

PATCH In review Xose Vazquez Perez 2 participants 2 messages Nov 29, 2024 – Dec 5, 2024 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add SCST to hwtable

Based on: https://github.com/SCST-project/scst/blob/master/scst/README#L1905-L1908

Cc Gleb Chesnokov <[email protected]>
Cc Bart Van Assche <[email protected]>
Cc Vladislav Bolkhovitin <[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 | 9 +++++++++
 1 file changed, 9 insertions(+)
libmultipath/hwtable.c +9 -0
index cf39a50d..8612fb21 100644
@@ -1036,6 +1036,15 @@ static struct hwentry default_hw[] = {
 		.checker_name  = DIRECTIO,
 		.detect_checker = DETECT_CHECKER_OFF,
 	},
+	{
+		/* Generic SCSI Target Subsystem for Linux (SCST) */
+		.vendor        = "^SCST_",
+		.product       = ".*",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 12,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * DataCore
 	 */
Signature · 1 line
2.47.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Xose Vazquez Perez

Based on: https://github.com/SCST-project/scst/blob/master/scst/README#L1905-L1908

Cc Gleb Chesnokov <[email protected]>
Cc Bart Van Assche <[email protected]>
Cc Vladislav Bolkhovitin <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
Quoted 26 lines
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)
libmultipath/hwtable.c +9 -0
index cf39a50d..8612fb21 100644
@@ -1036,6 +1036,15 @@ static struct hwentry default_hw[] = {
 		.checker_name  = DIRECTIO,
 		.detect_checker = DETECT_CHECKER_OFF,
 	},
+	{
+		/* Generic SCSI Target Subsystem for Linux (SCST) */
+		.vendor        = "^SCST_",
+		.product       = ".*",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 12,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * DataCore
 	 */
Signature · 1 line
2.47.1