[dm-devel] [PATCH] libmultipath: fix unit to seconds in log message for checker timeout

Christophe Varoqui christophe.varoqui at opensvc.com
Thu Aug 3 06:44:03 UTC 2017


Merged,
Thanks.

On Tue, Jun 27, 2017 at 5:11 PM, Martin Wilck <mwilck at suse.com> wrote:

> checker_timeout is in seconds, not milliseconds, since 905281da
> "Specify checker_timeout in seconds". Fix the log messages.
>
> Signed-off-by: Martin Wilck <mwilck at suse.com>
> ---
>  libmultipath/propsel.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
> index 27f39517..4ac7edcd 100644
> --- a/libmultipath/propsel.c
> +++ b/libmultipath/propsel.c
> @@ -333,11 +333,11 @@ out:
>                                 pp->dev, c->timeout);
>         }
>         else if (sysfs_get_timeout(pp, &c->timeout) > 0)
> -               condlog(3, "%s: checker timeout = %u ms (setting: kernel
> sysfs)",
> +               condlog(3, "%s: checker timeout = %u s (setting: kernel
> sysfs)",
>                                 pp->dev, c->timeout);
>         else {
>                 c->timeout = DEF_TIMEOUT;
> -               condlog(3, "%s: checker timeout = %u ms (setting:
> multipath internal)",
> +               condlog(3, "%s: checker timeout = %u s (setting: multipath
> internal)",
>                                 pp->dev, c->timeout);
>         }
>         return 0;
> --
> 2.13.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170803/1e1ca6ab/attachment.htm>


More information about the dm-devel mailing list