<div dir="ltr">Applied.<div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 10, 2017 at 2:43 PM, Xose Vazquez Perez <span dir="ltr"><<a href="mailto:xose.vazquez@gmail.com" target="_blank">xose.vazquez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cc: Christophe Varoqui <<a href="mailto:christophe.varoqui@opensvc.com">christophe.varoqui@opensvc.<wbr>com</a>><br>
Cc: device-mapper development <<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a>><br>
Signed-off-by: Xose Vazquez Perez <<a href="mailto:xose.vazquez@gmail.com">xose.vazquez@gmail.com</a>><br>
---<br>
 kpartx/kpartx_id           |  6 +++---<br>
 libmultipath/dict.c        | 18 ++++++++--------<br>
 libmultipath/propsel.c     | 54 +++++++++++++++++++++++-------<wbr>----------------<br>
 multipath/multipath.conf.5 |  4 ++--<br>
 multipathd/main.c          |  2 +-<br>
 5 files changed, 42 insertions(+), 42 deletions(-)<br>
<br>
diff --git a/kpartx/kpartx_id b/kpartx/kpartx_id<br>
index df0e6b9..b7f802d 100755<br>
--- a/kpartx/kpartx_id<br>
+++ b/kpartx/kpartx_id<br>
@@ -74,16 +74,16 @@ fi<br>
 if [ -n "$dmdeps" ] ; then<br>
     case "$dmdeps" in<br>
        *\(94,*)<br>
-            echo "DM_TYPE=ccw"<br>
+           echo "DM_TYPE=ccw"<br>
            ;;<br>
        *\(104,* | *\(105,* | *\(106,* | *\(107,* | *\(108,* | *\(109,* | *\(110,* | *\(112,*)<br>
            echo "DM_TYPE=cciss"<br>
            ;;<br>
        *\(9*)<br>
-            echo "DM_TYPE=raid"<br>
+           echo "DM_TYPE=raid"<br>
            ;;<br>
        *)<br>
-            echo "DM_TYPE=scsi"<br>
+           echo "DM_TYPE=scsi"<br>
            echo "DM_WWN=0x${dmname#?}"<br>
            ;;<br>
     esac<br>
diff --git a/libmultipath/dict.c b/libmultipath/dict.c<br>
index ae94c88..3521c78 100644<br>
--- a/libmultipath/dict.c<br>
+++ b/libmultipath/dict.c<br>
@@ -1426,9 +1426,9 @@ init_keywords(vector keywords)<br>
        install_keyword("config_dir", &def_config_dir_handler, &snprint_def_config_dir);<br>
        install_keyword("delay_watch_<wbr>checks", &def_delay_watch_checks_<wbr>handler, &snprint_def_delay_watch_<wbr>checks);<br>
        install_keyword("delay_wait_<wbr>checks", &def_delay_wait_checks_<wbr>handler, &snprint_def_delay_wait_<wbr>checks);<br>
-        install_keyword("san_path_err_<wbr>threshold", &def_san_path_err_threshold_<wbr>handler, &snprint_def_san_path_err_<wbr>threshold);<br>
-        install_keyword("san_path_err_<wbr>forget_rate", &def_san_path_err_forget_rate_<wbr>handler, &snprint_def_san_path_err_<wbr>forget_rate);<br>
-        install_keyword("san_path_err_<wbr>recovery_time", &def_san_path_err_recovery_<wbr>time_handler, &snprint_def_san_path_err_<wbr>recovery_time);<br>
+       install_keyword("san_path_err_<wbr>threshold", &def_san_path_err_threshold_<wbr>handler, &snprint_def_san_path_err_<wbr>threshold);<br>
+       install_keyword("san_path_err_<wbr>forget_rate", &def_san_path_err_forget_rate_<wbr>handler, &snprint_def_san_path_err_<wbr>forget_rate);<br>
+       install_keyword("san_path_err_<wbr>recovery_time", &def_san_path_err_recovery_<wbr>time_handler, &snprint_def_san_path_err_<wbr>recovery_time);<br>
<br>
        install_keyword("find_<wbr>multipaths", &def_find_multipaths_handler, &snprint_def_find_multipaths);<br>
        install_keyword("uxsock_<wbr>timeout", &def_uxsock_timeout_handler, &snprint_def_uxsock_timeout);<br>
@@ -1512,9 +1512,9 @@ init_keywords(vector keywords)<br>
        install_keyword("deferred_<wbr>remove", &hw_deferred_remove_handler, &snprint_hw_deferred_remove);<br>
        install_keyword("delay_watch_<wbr>checks", &hw_delay_watch_checks_<wbr>handler, &snprint_hw_delay_watch_<wbr>checks);<br>
        install_keyword("delay_wait_<wbr>checks", &hw_delay_wait_checks_handler, &snprint_hw_delay_wait_checks)<wbr>;<br>
-        install_keyword("san_path_err_<wbr>threshold", &hw_san_path_err_threshold_<wbr>handler, &snprint_hw_san_path_err_<wbr>threshold);<br>
-        install_keyword("san_path_err_<wbr>forget_rate", &hw_san_path_err_forget_rate_<wbr>handler, &snprint_hw_san_path_err_<wbr>forget_rate);<br>
-        install_keyword("san_path_err_<wbr>recovery_time", &hw_san_path_err_recovery_<wbr>time_handler, &snprint_hw_san_path_err_<wbr>recovery_time);<br>
+       install_keyword("san_path_err_<wbr>threshold", &hw_san_path_err_threshold_<wbr>handler, &snprint_hw_san_path_err_<wbr>threshold);<br>
+       install_keyword("san_path_err_<wbr>forget_rate", &hw_san_path_err_forget_rate_<wbr>handler, &snprint_hw_san_path_err_<wbr>forget_rate);<br>
+       install_keyword("san_path_err_<wbr>recovery_time", &hw_san_path_err_recovery_<wbr>time_handler, &snprint_hw_san_path_err_<wbr>recovery_time);<br>
        install_keyword("skip_kpartx", &hw_skip_kpartx_handler, &snprint_hw_skip_kpartx);<br>
        install_keyword("max_sectors_<wbr>kb", &hw_max_sectors_kb_handler, &snprint_hw_max_sectors_kb);<br>
        install_sublevel_end();<br>
@@ -1544,9 +1544,9 @@ init_keywords(vector keywords)<br>
        install_keyword("deferred_<wbr>remove", &ovr_deferred_remove_handler, &snprint_ovr_deferred_remove);<br>
        install_keyword("delay_watch_<wbr>checks", &ovr_delay_watch_checks_<wbr>handler, &snprint_ovr_delay_watch_<wbr>checks);<br>
        install_keyword("delay_wait_<wbr>checks", &ovr_delay_wait_checks_<wbr>handler, &snprint_ovr_delay_wait_<wbr>checks);<br>
-        install_keyword("san_path_err_<wbr>threshold", &ovr_san_path_err_threshold_<wbr>handler, &snprint_ovr_san_path_err_<wbr>threshold);<br>
-        install_keyword("san_path_err_<wbr>forget_rate", &ovr_san_path_err_forget_rate_<wbr>handler, &snprint_ovr_san_path_err_<wbr>forget_rate);<br>
-        install_keyword("san_path_err_<wbr>recovery_time", &ovr_san_path_err_recovery_<wbr>time_handler, &snprint_ovr_san_path_err_<wbr>recovery_time);<br>
+       install_keyword("san_path_err_<wbr>threshold", &ovr_san_path_err_threshold_<wbr>handler, &snprint_ovr_san_path_err_<wbr>threshold);<br>
+       install_keyword("san_path_err_<wbr>forget_rate", &ovr_san_path_err_forget_rate_<wbr>handler, &snprint_ovr_san_path_err_<wbr>forget_rate);<br>
+       install_keyword("san_path_err_<wbr>recovery_time", &ovr_san_path_err_recovery_<wbr>time_handler, &snprint_ovr_san_path_err_<wbr>recovery_time);<br>
<br>
        install_keyword("skip_kpartx", &ovr_skip_kpartx_handler, &snprint_ovr_skip_kpartx);<br>
        install_keyword("max_sectors_<wbr>kb", &ovr_max_sectors_kb_handler, &snprint_ovr_max_sectors_kb);<br>
diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c<br>
index e4afef7..1b27476 100644<br>
--- a/libmultipath/propsel.c<br>
+++ b/libmultipath/propsel.c<br>
@@ -645,47 +645,47 @@ out:<br>
 }<br>
 int select_san_path_err_threshold(<wbr>struct config *conf, struct multipath *mp)<br>
 {<br>
-        char *origin, buff[12];<br>
+       char *origin, buff[12];<br>
<br>
-        mp_set_mpe(san_path_err_<wbr>threshold);<br>
-        mp_set_ovr(san_path_err_<wbr>threshold);<br>
-        mp_set_hwe(san_path_err_<wbr>threshold);<br>
-        mp_set_conf(san_path_err_<wbr>threshold);<br>
-        mp_set_default(san_path_err_<wbr>threshold, DEFAULT_ERR_CHECKS);<br>
+       mp_set_mpe(san_path_err_<wbr>threshold);<br>
+       mp_set_ovr(san_path_err_<wbr>threshold);<br>
+       mp_set_hwe(san_path_err_<wbr>threshold);<br>
+       mp_set_conf(san_path_err_<wbr>threshold);<br>
+       mp_set_default(san_path_err_<wbr>threshold, DEFAULT_ERR_CHECKS);<br>
 out:<br>
-        print_off_int_undef(buff, 12, &mp->san_path_err_threshold);<br>
-        condlog(3, "%s: san_path_err_threshold = %s %s", mp->alias, buff, origin);<br>
-        return 0;<br>
+       print_off_int_undef(buff, 12, &mp->san_path_err_threshold);<br>
+       condlog(3, "%s: san_path_err_threshold = %s %s", mp->alias, buff, origin);<br>
+       return 0;<br>
 }<br>
<br>
 int select_san_path_err_forget_<wbr>rate(struct config *conf, struct multipath *mp)<br>
 {<br>
-        char *origin, buff[12];<br>
+       char *origin, buff[12];<br>
<br>
-        mp_set_mpe(san_path_err_<wbr>forget_rate);<br>
-        mp_set_ovr(san_path_err_<wbr>forget_rate);<br>
-        mp_set_hwe(san_path_err_<wbr>forget_rate);<br>
-        mp_set_conf(san_path_err_<wbr>forget_rate);<br>
-        mp_set_default(san_path_err_<wbr>forget_rate, DEFAULT_ERR_CHECKS);<br>
+       mp_set_mpe(san_path_err_<wbr>forget_rate);<br>
+       mp_set_ovr(san_path_err_<wbr>forget_rate);<br>
+       mp_set_hwe(san_path_err_<wbr>forget_rate);<br>
+       mp_set_conf(san_path_err_<wbr>forget_rate);<br>
+       mp_set_default(san_path_err_<wbr>forget_rate, DEFAULT_ERR_CHECKS);<br>
 out:<br>
-        print_off_int_undef(buff, 12, &mp->san_path_err_forget_rate)<wbr>;<br>
-        condlog(3, "%s: san_path_err_forget_rate = %s %s", mp->alias, buff, origin);<br>
-        return 0;<br>
+       print_off_int_undef(buff, 12, &mp->san_path_err_forget_rate)<wbr>;<br>
+       condlog(3, "%s: san_path_err_forget_rate = %s %s", mp->alias, buff, origin);<br>
+       return 0;<br>
<br>
 }<br>
 int select_san_path_err_recovery_<wbr>time(struct config *conf, struct multipath *mp)<br>
 {<br>
-        char *origin, buff[12];<br>
+       char *origin, buff[12];<br>
<br>
-        mp_set_mpe(san_path_err_<wbr>recovery_time);<br>
-        mp_set_ovr(san_path_err_<wbr>recovery_time);<br>
-        mp_set_hwe(san_path_err_<wbr>recovery_time);<br>
-        mp_set_conf(san_path_err_<wbr>recovery_time);<br>
-        mp_set_default(san_path_err_<wbr>recovery_time, DEFAULT_ERR_CHECKS);<br>
+       mp_set_mpe(san_path_err_<wbr>recovery_time);<br>
+       mp_set_ovr(san_path_err_<wbr>recovery_time);<br>
+       mp_set_hwe(san_path_err_<wbr>recovery_time);<br>
+       mp_set_conf(san_path_err_<wbr>recovery_time);<br>
+       mp_set_default(san_path_err_<wbr>recovery_time, DEFAULT_ERR_CHECKS);<br>
 out:<br>
-        print_off_int_undef(buff, 12, &mp->san_path_err_recovery_<wbr>time);<br>
-        condlog(3, "%s: san_path_err_recovery_time = %s %s", mp->alias, buff, origin);<br>
-        return 0;<br>
+       print_off_int_undef(buff, 12, &mp->san_path_err_recovery_<wbr>time);<br>
+       condlog(3, "%s: san_path_err_recovery_time = %s %s", mp->alias, buff, origin);<br>
+       return 0;<br>
<br>
 }<br>
 int select_skip_kpartx (struct config *conf, struct multipath * mp)<br>
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5<br>
index 3c564ad..7de8bc7 100644<br>
--- a/multipath/multipath.conf.5<br>
+++ b/multipath/multipath.conf.5<br>
@@ -755,7 +755,7 @@ The default is: \fB/etc/multipath/conf.d/\fR<br>
 If set to a value greater than 0, multipathd will watch paths and check how many<br>
 times a path has been failed due to errors.If the number of failures on a particular<br>
 path is greater then the san_path_err_threshold then the path will not  reinstante<br>
-till san_path_err_recovery_time.<wbr>These path failures should occur within a<br>
+till san_path_err_recovery_time.<wbr>These path failures should occur within a<br>
 san_path_err_forget_rate checks, if not we will consider the path is good enough<br>
 to reinstantate.<br>
 .RS<br>
@@ -767,7 +767,7 @@ The default is: \fBno\fR<br>
 .TP<br>
 .B san_path_err_forget_rate<br>
 If set to a value greater than 0, multipathd will check whether the path failures<br>
-has exceeded  the san_path_err_threshold within this many checks i.e<br>
+has exceeded  the san_path_err_threshold within this many checks i.e<br>
 san_path_err_forget_rate . If so we will not reinstante the path till<br>
 san_path_err_recovery_time.<br>
 .RS<br>
diff --git a/multipathd/main.c b/multipathd/main.c<br>
index 1b44e4d..0f32b2c 100644<br>
--- a/multipathd/main.c<br>
+++ b/multipathd/main.c<br>
@@ -1504,7 +1504,7 @@ static int check_path_reinstate_state(<wbr>struct path * pp) {<br>
                                (pp->mpp->san_path_err_<wbr>recovery_time >0))) {<br>
                return 0;<br>
        }<br>
-<br>
+<br>
        if (pp->disable_reinstate) {<br>
                /* If we don't know how much time has passed, automatically<br>
                 * reinstate the path, just to be safe. Also, if there are<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.11.1<br>
<br>
</font></span></blockquote></div><br></div>