diff mbox series

libmultipath: hwtable: use ALUA for all LIO targets

Message ID 20220202115025.29214-1-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: Mike Snitzer
Headers show
Series libmultipath: hwtable: use ALUA for all LIO targets | expand

Commit Message

Martin Wilck Feb. 2, 2022, 11:50 a.m. UTC
From: Martin Wilck <mwilck@suse.com>

LIO supports ALUA for all backends. Use it by default.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmultipath/hwtable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Benjamin Marzinski Feb. 8, 2022, 2:52 p.m. UTC | #1
On Wed, Feb 02, 2022 at 12:50:25PM +0100, mwilck@suse.com wrote:
> From: Martin Wilck <mwilck@suse.com>
> 
> LIO supports ALUA for all backends. Use it by default.
> 
> Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
>  libmultipath/hwtable.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index c65e5e1..bd15710 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1039,7 +1039,7 @@ static struct hwentry default_hw[] = {
>  	{
>  		/* Linux-IO Target */
>  		.vendor        = "(LIO-ORG|SUSE)",
> -		.product       = "RBD",
> +		.product       = ".",
>  		.hwhandler     = "1 alua",
>  		.pgpolicy      = GROUP_BY_PRIO,
>  		.pgfailback    = -FAILBACK_IMMEDIATE,
> -- 
> 2.34.1

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
diff mbox series

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index c65e5e1..bd15710 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1039,7 +1039,7 @@  static struct hwentry default_hw[] = {
 	{
 		/* Linux-IO Target */
 		.vendor        = "(LIO-ORG|SUSE)",
-		.product       = "RBD",
+		.product       = ".",
 		.hwhandler     = "1 alua",
 		.pgpolicy      = GROUP_BY_PRIO,
 		.pgfailback    = -FAILBACK_IMMEDIATE,