[dm-devel] [PATCH] fixup! libmultipath: use directio checker for LIO targets

mwilck at suse.com mwilck at suse.com
Fri Mar 31 08:28:35 UTC 2023


From: Martin Wilck <mwilck at 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 at suse.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



More information about the dm-devel mailing list