<div dir="ltr">Merged.<div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 8:50 AM,  <span dir="ltr"><<a href="mailto:tang.junhui@zte.com.cn" target="_blank">tang.junhui@zte.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><a href="mailto:tang.junhui@zte.com.cn" target="_blank">tang.junhui@zte.com.cn</a></font>
<br><font size="1" color="#5f5f5f" face="sans-serif">收件人:    
    </font><font size="1" face="sans-serif">christophe
varoqui <<a href="mailto:christophe.varoqui@free.fr" target="_blank">christophe.varoqui@free.fr</a>>, </font>
<br><font size="1" color="#5f5f5f" face="sans-serif">抄送:    
   </font><font size="1" face="sans-serif"><a href="mailto:dm-devel@redhat.com" target="_blank">dm-devel@redhat.com</a>,
<a href="mailto:zhang.kai16@zte.com.cn" target="_blank">zhang.kai16@zte.com.cn</a>, "tang.junhui" <<a href="mailto:tang.junhui@zte.com.cn" target="_blank">tang.junhui@zte.com.cn</a>></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><div class="HOEnZb"><div class="h5">
<br>
<br>
<br><tt><font size="2">From: "tang.junhui" <<a href="mailto:tang.junhui@zte.com.cn" target="_blank">tang.junhui@zte.com.cn</a>><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 <<a href="mailto:tang.junhui@zte.com.cn" target="_blank">tang.junhui@zte.com.cn</a>><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>
</div></div></blockquote></div><br></div>