From 2cd213a32794395efe1715d89737c81a9e3d7c20 Mon Sep 17 00:00:00 2001 From: Xose Vazquez Perez Date: Fri, 29 Nov 2024 13:09:16 +0100 Subject: [PATCH] multipath-tools: add SCST to hwtable Based on: https://github.com/SCST-project/scst/blob/master/scst/README#L1905-L1908 Cc: Gleb Chesnokov Cc: Bart Van Assche Cc: Vladislav Bolkhovitin Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez Reviewed-by: Benjamin Marzinski --- libmultipath/hwtable.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index cf39a50d..32118339 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 */