diff mbox series

multipath-tools: add SCST to hwtable

Message ID 20241129120916.302317-1-xose.vazquez@gmail.com (mailing list archive)
State New
Headers show
Series multipath-tools: add SCST to hwtable | expand

Commit Message

Xose Vazquez Perez Nov. 29, 2024, 12:09 p.m. UTC
Based on: https://github.com/SCST-project/scst/blob/master/scst/README#L1905-L1908

Cc: Gleb Chesnokov <gleb.chesnokov@scst.dev>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Vladislav Bolkhovitin <vst@vlnb.net>
Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@lists.linux.dev>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index cf39a50d..8612fb21 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -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
 	 */