<div dir="ltr">Applied.<div style>Thanks.</div><div style><br></div><div style>Christophe Varoqui</div><div style><a href="http://www.opensvc.com">www.opensvc.com</a></div><div style><br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Nov 14, 2013 at 1:06 AM, Sean Stewart <span dir="ltr"><<a href="mailto:sean.stewart@netapp.com" target="_blank">sean.stewart@netapp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If path_offline says PATH_UP and the checker says PATH_DOWN.  In<br>
this case, pathinfo gets called twice, and the first call, from<br>
update_prio sets it to -1 because the checker says it's down.  On the<br>
second pathinfo call, from update_path_groups, it will call the<br>
prioritizer based on the fact that the prio is -1. This leads to a flip<br>
flop of the priority value and a reload on every check.<br>
<br>
Signed-off-by: Sean Stewart <<a href="mailto:sean.stewart@netapp.com">sean.stewart@netapp.com</a>><br>
---<br>
 libmultipath/discovery.c | 2 --<br>
 1 file changed, 2 deletions(-)<br>
<br>
diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c<br>
index 7035a43..04e3ead 100644<br>
--- a/libmultipath/discovery.c<br>
+++ b/libmultipath/discovery.c<br>
@@ -1138,8 +1138,6 @@ pathinfo (struct path *pp, vector hwtable, int mask)<br>
                        if (!strlen(pp->wwid))<br>
                                get_uid(pp);<br>
                        get_prio(pp);<br>
-               } else {<br>
-                       pp->priority = PRIO_UNDEF;<br>
                }<br>
        }<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.8.3.1<br>
<br>
</font></span></blockquote></div><br></div></div>