From 71448bb3742446679955037c4416dc5e5fd73836 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Thu, 23 Mar 2023 21:43:32 +0100 Subject: [PATCH] libmultipath: use directio checker for LIO targets 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 mwilck: v2: fixed up with .detect_checker setting. Reported-by: Li Xiaokeng Signed-off-by: Martin Wilck Reviewed-by: Benjamin Marzinski Tested-by: Li Xiaokeng --- libmultipath/hwtable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 3c4f866a..65bca744 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1067,6 +1067,8 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .no_path_retry = 12, .prio_name = PRIO_ALUA, + .checker_name = DIRECTIO, + .detect_checker = DETECT_CHECKER_OFF, }, /* * DataCore -- 2.33.0