multipath-tools: add SCST to hwtable
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]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmultipath/hwtable.c | 9 +++++++++ 1 file changed, 9 insertions(+)
libmultipath/hwtable.c +9 -0
@@ -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
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]>Signed-off-by Xose Vazquez Perez <[email protected]>
Reviewed-by Benjamin Marzinski <[email protected]>
Quoted 26 lines
--- libmultipath/hwtable.c | 9 +++++++++ 1 file changed, 9 insertions(+)libmultipath/hwtable.c +9
-0@@ -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