<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style = 'font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px; line-height:1.6;'>
    <div ></div><div>
    <div>Hi all,</div><div><span style="line-height: 1.6;">The new patch shown as below a</span><span style="line-height: 22.4px;">cocording to ben's suggestion, thanks.</span></div><div><span style="line-height: 22.4px;"><br></span></div><div>
        <span>From 035f51305766879b1bd436ef4409ccf32215a271 Mon Sep 17 00:00:00 2001
        </span>
    </div><div><span>From: Chongyun Wu <wucy11@chinatelecom.cn> </span></div><div><span>Date: Wed, 16 Dec 2020 13:59:16 +0800 </span></div><div><span>Subject: [PATCH] multipathd: fix path checkint not changed when path state </span></div><div><span> form delay to failed </span></div><div><span> </span></div><div><span>Check_path: when path state change back to failed from delay state, should change </span></div><div><span>this path's check interval time to the shortest delay to faster path state check. </span></div><div><span> </span></div><div><span>Signed-off-by: Chongyun Wu <wucy11@chinatelecom.cn> </span></div><div><span>--- </span></div><div><span> multipathd/main.c | 7 +++++++ </span></div><div><span> 1 file changed, 7 insertions(+) </span></div><div><span> </span></div><div><span>diff --git a/multipathd/main.c b/multipathd/main.c </span></div><div><span>index a4abbb27..8ab2d848 100644 </span></div><div><span>--- a/multipathd/main.c </span></div><div><span>+++ b/multipathd/main.c </span></div><div><span>@@ -2166,6 +2166,13 @@ check_path (struct vectors * vecs, struct path * pp, unsigned int ticks) </span></div><div><span>    (pp->state == PATH_DELAYED)) { </span></div><div><span>   /* If path state become failed again cancel path delay state */ </span></div><div><span>   pp->state = newstate; </span></div><div><span>+       /* </span></div><div><span>+       * path state bad again should change the check interval time </span></div><div><span>+       * to the shortest delay </span></div><div><span>+       */ </span></div><div><span>+       pp->checkint = conf->checkint; </span></div><div><span>   return 1; </span></div><div><span>  } </span></div><div><span>  if (!pp->mpp) { </span></div><div><span>--  </span></div><div><span>2.29.2.windows.3</span></div>
    <div>
        <span>
            <br>
        </span>
    </div>
    <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
         <div style="font-size:14px; padding: 0;  margin:0;">
        <div style="padding-bottom:10px;margin-bottom:10px;display:inline-block;">
            <div style="margin:0;">Best Regard,</div><div style="margin:0;">Chongyun Wu</div>
        </div>
    </div>
     </div>
</div><!--😀-->
</div>
</body>
</html>