All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: add SCST to hwtable
@ 2024-11-29 12:09 Xose Vazquez Perez
  2024-12-05 19:02 ` Benjamin Marzinski
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2024-11-29 12:09 UTC (permalink / raw)
  Cc: Xose Vazquez Perez, Gleb Chesnokov, Bart Van Assche,
	Vladislav Bolkhovitin, Martin Wilck, Benjamin Marzinski,
	Christophe Varoqui, DM-DEVEL ML

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 --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
 	 */
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-05 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 12:09 [PATCH] multipath-tools: add SCST to hwtable Xose Vazquez Perez
2024-12-05 19:02 ` Benjamin Marzinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.