Message ID | 20241129120916.302317-1-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Benjamin Marzinski |
Headers | show |
Series | multipath-tools: add SCST to hwtable | expand |
On Fri, Nov 29, 2024 at 01:09:16PM +0100, Xose Vazquez Perez wrote: > 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> Reviewed-by: Benjamin Marzinski <bmarzins@redhat.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
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 */
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(+)