Fix for Red Hat bz #737072.
authorbmarzins@sourceware.org <bmarzins@sourceware.org>
Wed, 2 Nov 2011 21:44:58 +0000 (22:44 +0100)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 2 Nov 2011 21:44:58 +0000 (22:44 +0100)
CVSROOT:        /cvs/dm
Module name:    multipath-tools
Branch:         RHEL5_FC6
Changes by:     bmarzins@sourceware.org    2011-10-24 13:41:32

Modified files:
        path_priority/pp_alua: rtpg.c

Log message:
        Fix for bz #737072. Shorten the timeout for the alua prio callout function
        from 5 minutes to 1 minute.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_alua/rtpg.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.3.2.5&r2=1.3.2.6

libmultipath/prioritizers/alua_rtpg.c

index b85cfdfd05975c9fe68a7e49eaa6e95d1bdfead3..f98ae9eee6dc63f5224f39b922d049bb30cbb6ea 100644 (file)
@@ -24,7 +24,7 @@
 #include "alua_rtpg.h"
 
 #define SENSE_BUFF_LEN  32
-#define DEF_TIMEOUT     300000
+#define DEF_TIMEOUT     60000
 
 /*
  * Macro used to print debug messaged.