diff mbox series

fixup! libmultipath: use directio checker for LIO targets

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

Commit Message

Martin Wilck March 31, 2023, 8:28 a.m. UTC
From: Martin Wilck <mwilck@suse.com>

When we set the check to something other than TUR, we need
to disable checker detection, too.

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

Comments

Benjamin Marzinski March 31, 2023, 1:47 p.m. UTC | #1
On Fri, Mar 31, 2023 at 10:28:35AM +0200, mwilck@suse.com wrote:
> From: Martin Wilck <mwilck@suse.com>
> 
> When we set the check to something other than TUR, we need
> to disable checker detection, too.
> 
> 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 c2a024c..65bca74 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -1068,6 +1068,7 @@ static struct hwentry default_hw[] = {
>  		.no_path_retry = 12,
>  		.prio_name     = PRIO_ALUA,
>  		.checker_name  = DIRECTIO,
> +		.detect_checker = DETECT_CHECKER_OFF,
>  	},
>  	/*
>  	 * DataCore
> -- 
> 2.39.2
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Martin Wilck March 31, 2023, 3:19 p.m. UTC | #2
On Fri, 2023-03-31 at 08:47 -0500, Benjamin Marzinski wrote:
> On Fri, Mar 31, 2023 at 10:28:35AM +0200, mwilck@suse.com wrote:
> > From: Martin Wilck <mwilck@suse.com>
> > 
> > When we set the check to something other than TUR, we need
> > to disable checker detection, too.
> > 
> > Signed-off-by: Martin Wilck <mwilck@suse.com>
> 
> Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>

Thanks! I am going to squash this in.

Martin

--
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 c2a024c..65bca74 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1068,6 +1068,7 @@  static struct hwentry default_hw[] = {
 		.no_path_retry = 12,
 		.prio_name     = PRIO_ALUA,
 		.checker_name  = DIRECTIO,
+		.detect_checker = DETECT_CHECKER_OFF,
 	},
 	/*
 	 * DataCore