All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: "Tom Geng(耿芳忠)" <gengfangzhong@inspur.com>,
	"xose.vazquez@gmail.com" <xose.vazquez@gmail.com>
Cc: "dm-devel@redhat.com" <dm-devel@redhat.com>
Subject: Re: multipath-tools: add INSPUR/MCS to hardware table
Date: Tue, 30 Jan 2018 08:33:10 +0100	[thread overview]
Message-ID: <1517297590.4072.2.camel@suse.com> (raw)
In-Reply-To: <6FA0216CBF61AE4AA9DA6744243E7853DB5C4677@jtjnmailbox06.home.langchao.com>

On Tue, 2018-01-30 at 01:54 +0000, Tom Geng(耿芳忠) wrote:
> Hi, Martin,
> .pgfailback    = -FAILBACK_IMMEDIATE  is OK for INSPUR/MCS in ALUA
> mode. We have tested failback function, the device controller works
> well. 
> Thank you a lot.

That's not what I meant. ".pgfailback" controls what happens if a once
lost path comes back online. ".pgpolicy" controls how the load is
distributed over healthy paths. The default .pgpolicy = failover means
that you'll only ever have one "running" path at any time (iow, no load
balancing). I asked you to confirm that that's what you need.

Martin

> 
> 
> 
> -----Original Message-----
> From: Martin Wilck [mailto:mwilck@suse.com] 
> Sent: Monday, January 29, 2018 9:38 PM
> To: Tom Geng(耿芳忠) <gengfangzhong@inspur.com>; xose.vazquez@gmail.com
> Cc: dm-devel@redhat.com
> Subject: Re: [dm-devel] multipath-tools: add INSPUR/MCS to hardware
> table
> 
> On Mon, 2018-01-29 at 06:04 +0000, Tom Geng(耿芳忠) wrote:
> > Hi, Xose,
> > I sent the patch to dm-devel last week, but forgot to CC you.
> > Please 
> > help to review and have chance to submit to the mainline.
> > Thank you a lot.
> > 
> > 
> > > From 091bae5fec22c61f0c3e6f9ab848fecae5203122 Mon Sep 17 00:00:00
> > > 2001
> > 
> > From: Tom Geng <gengfangzhong@inspur.com>
> > Date: Tue, 23 Jan 2018 15:33:09 +0800
> > Subject: [PATCH] multipath-tools: add INSPUR/MCS to hardware table
> > 
> > ---
> >  libmultipath/hwtable.c | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 
> > 448effe3..93d67df0 100644
> > --- a/libmultipath/hwtable.c
> > +++ b/libmultipath/hwtable.c
> > @@ -1181,6 +1181,17 @@ static struct hwentry default_hw[] = {
> >  		.pgpolicy      = MULTIBUS,
> >  		.no_path_retry = 30,
> >  	},
> > +	/*
> > +	 * INSPUR
> > +	 */
> > +	{
> > +		/* AS5300/AS5500 G2 */
> > +		.vendor        = "INSPUR",
> > +		.product       = "MCS",
> > +		.pgpolicy      = GROUP_BY_PRIO,
> > +		.pgfailback    = -FAILBACK_IMMEDIATE,
> > +		.prio_name     = PRIO_ALUA,
> > +	},
> >  	/*
> >  	 * EOL
> >  	 */
> 
> multipath-tools default to .pgpolicy = failover. Please confirm that
> this is really your intention.
> 
> Martin
> 
> --
> Dr. Martin Wilck <mwilck@suse.com>, Tel. +49 (0)911 74053 2107 SUSE
> Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB
> 21284 (AG Nürnberg)
> 

-- 
Dr. Martin Wilck <mwilck@suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2018-01-30  7:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29  6:04 multipath-tools: add INSPUR/MCS to hardware table Tom Geng(耿芳忠)
2018-01-29 13:37 ` Martin Wilck
2018-01-30  1:54   ` Tom Geng(耿芳忠)
2018-01-30  7:33     ` Martin Wilck [this message]
2018-01-30 13:58   ` Xose Vazquez Perez
2018-01-30 14:05     ` Martin Wilck
2018-01-30 18:13 ` Xose Vazquez Perez
  -- strict thread matches above, loose matches on Subject: below --
2018-01-23 11:01 Tom Geng(耿芳忠)
2018-01-22 10:55 Tom Geng(耿芳忠)
2018-01-22 14:44 ` Xose Vazquez Perez

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=1517297590.4072.2.camel@suse.com \
    --to=mwilck@suse.com \
    --cc=dm-devel@redhat.com \
    --cc=gengfangzhong@inspur.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.