Skip to contentSkip to conversation

fixup! libmultipath: use directio checker for LIO targets

PATCH In review [email protected] 2 participants 3 messages Mar 31, 2023 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! libmultipath: use directio checker for LIO targets

From: Martin Wilck <[email protected]>

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

---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index c2a024c..65bca74 100644
@@ -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
Signature · 6 lines
2.39.2

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Fri, Mar 31, 2023 at 10:28:35AM +0200, [email protected] wrote:

From: Martin Wilck <[email protected]>

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

Quoted 18 lines
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index c2a024c..65bca74 100644
@@ -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
Signature · 1 line
2.39.2

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

#2 lore raw
Quoted 9 lines · Benjamin Marzinski
Quoted 6 lines · On Fri, Mar 31, 2023 at 10:28:35AM +0200, [email protected] wrote:

From: Martin Wilck <[email protected]>

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

Thanks! I am going to squash this in.

Martin

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel