File multipath-tools-activate-queue_if_no_path-for-no-path-retry-value of Package multipath-tools
From 33ac96b74ddd2db94925d499d709e452f1120b49 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 4 Mar 2009 13:34:55 +0100
Subject: [PATCH] Activate queue_if_no_path even when no_path_retry is not set to failed
no_path_retry might also be set to some value, specifying the number
of times a no-paths scenario should be retried. We need to set
'queue_if_no_path' here actively, too, to avoid intermittent I/O
errors.
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
libmultipath/dmparser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libmultipath/dmparser.c b/libmultipath/dmparser.c
index 9476343..f1975fb 100644
--- a/libmultipath/dmparser.c
+++ b/libmultipath/dmparser.c
@@ -61,7 +61,7 @@ assemble_map (struct multipath * mp, char * params, int len)
p = params;
freechar = len;
- if ((mp->features[0] == '0') && (mp->no_path_retry == NO_PATH_RETRY_QUEUE))
+ if ((mp->features[0] == '0') && (mp->no_path_retry != NO_PATH_RETRY_FAIL))
f = no_path_retry;
else
f = mp->features;
--
1.6.0.2