[dm-devel] [PATCH] libmultipath: hwtable: use ALUA for all LIO targets

Benjamin Marzinski bmarzins at redhat.com
Tue Feb 8 14:52:53 UTC 2022


On Wed, Feb 02, 2022 at 12:50:25PM +0100, mwilck at suse.com wrote:
> From: Martin Wilck <mwilck at suse.com>
> 
> LIO supports ALUA for all backends. Use it by default.
> 
> Signed-off-by: Martin Wilck <mwilck at suse.com>
Reviewed-by: Benjamin Marzinski <bmarzins at 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




More information about the dm-devel mailing list