Linux Device Mapper development
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.de>
To: Xose Vazquez Perez <xose.vazquez@gmail.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
Subject: Re: [PATCH resend] multipath-tools: document why dev_loss_tmo is set to infinity for HPE 3PAR
Date: Fri, 29 Mar 2019 16:53:25 +0100	[thread overview]
Message-ID: <5a96ccac4f8fadfaa2bcafebcc6ee17c46ad68ff.camel@suse.de> (raw)
In-Reply-To: <20190316223045.21614-1-xose.vazquez@gmail.com>

On Sat, 2019-03-16 at 23:30 +0100, Xose Vazquez Perez wrote:
> It's needed by Peer Persistence, documented in SLES and RHEL guides:
> https://support.hpe.com/hpsc/doc/public/display?docId=a00053835
> https://support.hpe.com/hpsc/doc/public/display?docId=c04448818
> 
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  libmultipath/hwtable.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index d3a8d9b..543bacd 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -116,6 +116,7 @@ static struct hwentry default_hw[] = {
>  		.prio_name     = PRIO_ALUA,
>  		.no_path_retry = 18,
>  		.fast_io_fail  = 10,
> +		/* infinity is needed by Peer Persistence */
>  		.dev_loss      = MAX_DEV_LOSS_TMO,
>  	},
>  	{

I'm not quite getting the benefit of adding this comment without
further explanation what Peer Persistence is. Also, IMO, setting
dev_loss_tmo to a higher value than the default (contrary to lowering
it) doesn't require much justification.

But it can't really hurt, so:

Reviewed-by: Martin Wilck <mwilck@suse.com>

      reply	other threads:[~2019-03-29 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-16 22:30 [PATCH resend] multipath-tools: document why dev_loss_tmo is set to infinity for HPE 3PAR Xose Vazquez Perez
2019-03-29 15:53 ` Martin Wilck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a96ccac4f8fadfaa2bcafebcc6ee17c46ad68ff.camel@suse.de \
    --to=mwilck@suse.de \
    --cc=dm-devel@redhat.com \
    --cc=xose.vazquez@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox