Skip to contentSkip to conversation

libmultipath: use directio checker for LIO targets

PATCH In review [email protected] 2 participants 2 messages Mar 23, 2023 – Mar 28, 2023 Device mapper

lore
Share & tools
lore
#0 lore raw

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

From: Martin Wilck <[email protected]>

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

---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index 3c4f866..c2a024c 100644
@@ -1067,6 +1067,7 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 12,
 		.prio_name     = PRIO_ALUA,
+		.checker_name  = DIRECTIO,
 	},
 	/*
 	 * 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 8 lines · On Thu, Mar 23, 2023 at 09:53:58PM +0100, [email protected] wrote:

From: Martin Wilck <[email protected]>

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

Quoted 18 lines
---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index 3c4f866..c2a024c 100644
@@ -1067,6 +1067,7 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 12,
 		.prio_name     = PRIO_ALUA,
+		.checker_name  = DIRECTIO,
 	},
 	/*
 	 * DataCore
Signature · 1 line
2.39.2

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