* [dm-devel] [PATCH] multipath-tools: make IBM/2107900 (DS8000) config work with alua and multibus
@ 2021-09-28 16:52 Xose Vazquez Perez
2021-09-28 19:24 ` Martin Wilck
0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2021-09-28 16:52 UTC (permalink / raw)
Cc: Xose Vazquez Perez, Martin Wilck, DM-DEVEL ML
ALUA is supported since the beginning:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/device_handler/scsi_dh_alua.c?id=057ea7c9683c3d684128cced796f03c179ecf1c2#n683
... the DS8000 is an Asymmetric Logical Unit Access (ALUA) capable storage array,
pag#160(144): https://www.redbooks.ibm.com/redbooks/pdfs/sg248887.pdf
kernel log:
https://marc.info/?l=linux-scsi&m=156407413807511&q=mbox
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@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
libmultipath/hwtable.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 72f81c60..f115c4f9 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -656,7 +656,8 @@ static struct hwentry default_hw[] = {
.vendor = "IBM",
.product = "^2107900",
.no_path_retry = NO_PATH_RETRY_QUEUE,
- .pgpolicy = MULTIBUS,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
},
{
// Storwize V5000 and V7000 lines / SAN Volume Controller (SVC) / Flex System V7000 /
--
2.32.0
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [dm-devel] [PATCH] multipath-tools: make IBM/2107900 (DS8000) config work with alua and multibus
2021-09-28 16:52 [dm-devel] [PATCH] multipath-tools: make IBM/2107900 (DS8000) config work with alua and multibus Xose Vazquez Perez
@ 2021-09-28 19:24 ` Martin Wilck
0 siblings, 0 replies; 2+ messages in thread
From: Martin Wilck @ 2021-09-28 19:24 UTC (permalink / raw)
To: Xose Vazquez Perez; +Cc: DM-DEVEL ML
On Tue, 2021-09-28 at 18:52 +0200, Xose Vazquez Perez wrote:
> ALUA is supported since the beginning:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/device_handler/scsi_dh_alua.c?id=057ea7c9683c3d684128cced796f03c179ecf1c2#n683
>
> ... the DS8000 is an Asymmetric Logical Unit Access (ALUA) capable
> storage array,
> pag#160(144): https://www.redbooks.ibm.com/redbooks/pdfs/sg248887.pdf
>
> kernel log:
> https://marc.info/?l=linux-scsi&m=156407413807511&q=mbox
>
> 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@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Thanks for the careful investigation!
Reviewed-by: Martin Wilck <mwilck@suse.com>
> ---
> libmultipath/hwtable.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 72f81c60..f115c4f9 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -656,7 +656,8 @@ static struct hwentry default_hw[] = {
> .vendor = "IBM",
> .product = "^2107900",
> .no_path_retry = NO_PATH_RETRY_QUEUE,
> - .pgpolicy = MULTIBUS,
> + .pgpolicy = GROUP_BY_PRIO,
> + .pgfailback = -FAILBACK_IMMEDIATE,
> },
> {
> // Storwize V5000 and V7000 lines / SAN Volume
> Controller (SVC) / Flex System V7000 /
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-28 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 16:52 [dm-devel] [PATCH] multipath-tools: make IBM/2107900 (DS8000) config work with alua and multibus Xose Vazquez Perez
2021-09-28 19:24 ` Martin Wilck
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.