diff mbox series

libmultipath: use directio checker for LIO targets

Message ID 20230323205358.29724-1-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series libmultipath: use directio checker for LIO targets | expand

Commit Message

Martin Wilck March 23, 2023, 8:53 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

LIO always responds with GOOD status to TUR. Thus TUR is
not useful as path checker for LIO targets.

Fixes https://github.com/opensvc/multipath-tools/issues/54

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

Comments

Benjamin Marzinski March 28, 2023, 1:50 p.m. UTC | #1
On Thu, Mar 23, 2023 at 09:53:58PM +0100, mwilck@suse.com wrote:
> From: Martin Wilck <mwilck@suse.com>
> 
> LIO always responds with GOOD status to TUR. Thus TUR is
> not useful as path checker for LIO targets.
> 
> Fixes https://github.com/opensvc/multipath-tools/issues/54
> 
> Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
>  libmultipath/hwtable.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 3c4f866..c2a024c 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1067,6 +1067,7 @@ static struct hwentry default_hw[] = {
>  		.pgfailback    = -FAILBACK_IMMEDIATE,
>  		.no_path_retry = 12,
>  		.prio_name     = PRIO_ALUA,
> +		.checker_name  = DIRECTIO,
>  	},
>  	/*
>  	 * DataCore
> -- 
> 2.39.2
--
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 3c4f866..c2a024c 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1067,6 +1067,7 @@  static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 12,
 		.prio_name     = PRIO_ALUA,
+		.checker_name  = DIRECTIO,
 	},
 	/*
 	 * DataCore