[dm-devel] [PATCH 09/33] multipathd: Set CLI timeout correctly

Martin Wilck mwilck at suse.com
Tue Feb 28 16:23:05 UTC 2017


From: Hannes Reinecke <hare at suse.de>

When calling 'multipathd cmd' the CLI timeout isn't set correctly;
calling "multipathd -k'cmd'" uses the correct timeout.
And the default timeout should be increased to 4 seconds to ensure
multipath runs correctly on large installations.


Signed-off-by: Hannes Reinecke <hare at suse.com>
---
 libmpathcmd/mpath_cmd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h
index 7293d919..6534474c 100644
--- a/libmpathcmd/mpath_cmd.h
+++ b/libmpathcmd/mpath_cmd.h
@@ -25,7 +25,7 @@ extern "C" {
 #endif
 
 #define DEFAULT_SOCKET		"/org/kernel/linux/storage/multipathd"
-#define DEFAULT_REPLY_TIMEOUT	1000
+#define DEFAULT_REPLY_TIMEOUT	4000
 #define MAX_REPLY_LEN		65536
 
 
-- 
2.11.0




More information about the dm-devel mailing list