<font size=2>Please have a review</font><font size=2 face="sans-serif">
for this patch, any comment will be highly appreciated.</font><font size=2 face="sans-serif"><br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">发件人:    
    </font><font size=1 face="sans-serif">tang.junhui@zte.com.cn</font>
<br><font size=1 color=#5f5f5f face="sans-serif">收件人:    
    </font><font size=1 face="sans-serif">christophe
varoqui <christophe.varoqui@free.fr>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">抄送:    
   </font><font size=1 face="sans-serif">dm-devel@redhat.com,
zhang.kai16@zte.com.cn, "tang.junhui" <tang.junhui@zte.com.cn></font>
<br><font size=1 color=#5f5f5f face="sans-serif">日期:    
    </font><font size=1 face="sans-serif">2016/08/10
16:11</font>
<br><font size=1 color=#5f5f5f face="sans-serif">主题:    
   </font><font size=1 face="sans-serif">[PATCH] multipathd:
fail path when path check timeout</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>From: "tang.junhui" <tang.junhui@zte.com.cn><br>
<br>
path should be failed when path status is PATH_TIMEOUT after check,<br>
otherwise, the valid number of paths in the map would be increased when<br>
the path status is PATH_UP after the next turn check, which would cause<br>
the valid number of paths exceeding the total number of paths in the map.<br>
<br>
Signed-off-by: tang.junhui <tang.junhui@zte.com.cn><br>
---<br>
 multipathd/main.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/multipathd/main.c b/multipathd/main.c<br>
index f5e9a01..01f1e58 100644<br>
--- a/multipathd/main.c<br>
+++ b/multipathd/main.c<br>
@@ -1585,7 +1585,7 @@ check_path (struct vectors * vecs, struct path *
pp, int ticks)<br>
                  
               
pp->checkint = conf->checkint;<br>
                  
               
put_multipath_config(conf);<br>
 <br>
-                
                 if
(newstate == PATH_DOWN || newstate == PATH_SHAKY) {<br>
+                
                 if
(newstate == PATH_DOWN || newstate == PATH_SHAKY || newstate == PATH_TIMEOUT)
{<br>
                  
               
                 /*<br>
                  
               
                 
* proactively fail path in the DM<br>
                  
               
                 
*/<br>
-- <br>
2.8.1.windows.1<br>
<br>
</font></tt>
<br>