All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
To: Benjamin Marzinski <bmarzins@redhat.com>,
	Brian King <brking@linux.vnet.ibm.com>,
	DM-DEVEL ML <dm-devel@redhat.com>,
	Christophe Varoqui <christophe.varoqui@opensvc.com>
Subject: Re: [PATCH] multipath-tools: reorder NVDISK devices
Date: Mon, 19 Aug 2019 17:45:42 +0200	[thread overview]
Message-ID: <894a30db-0af2-6598-e37e-26617ff2b3ea@gmail.com> (raw)
In-Reply-To: <20190814154111.GE25414@octiron.msp.redhat.com>

On 8/14/19 5:41 PM, Benjamin Marzinski wrote:

> On Thu, Aug 01, 2019 at 07:21:38PM +0200, Xose Vazquez Perez wrote:
>> Otherwise "3303[ ]+NVDISK" is never reached, because "NVDISK" regex takes
>> priority over it.
> 
> Huh? I don't understand why this is necessary. First off, with Martin's
> hwentry code, all matching hardware entries are used, not just the
> latest. But second, and more importantly, the AIX NVDISK entry won't
> ever match the same disks as the IBM 3303[ ]+NVDISK, since they have
> different vendors.  Right?

Yes, you are right. I mixed badly IBM-AIX in my head.

I'm sorry for the noise.

Christophe, remove this patch from your queue.


Thanks.

>> Cc: Brian King <brking@linux.vnet.ibm.com>
>> 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 | 12 ++++++------
>>  1 file changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
>> index a06872e..8209554 100644
>> --- a/libmultipath/hwtable.c
>> +++ b/libmultipath/hwtable.c
>> @@ -696,12 +696,6 @@ static struct hwentry default_hw[] = {
>>  		.pgpolicy      = MULTIBUS,
>>  		.no_path_retry = (300 / DEFAULT_CHECKINT),
>>  	},
>> -	{
>> -		/* 3303 NVDISK */
>> -		.vendor        = "IBM",
>> -		.product       = "3303[ ]+NVDISK",
>> -		.no_path_retry = (300 / DEFAULT_CHECKINT),
>> -	},
>>  	{
>>  		/* AIX NVDISK */
>>  		.vendor        = "AIX",
>> @@ -712,6 +706,12 @@ static struct hwentry default_hw[] = {
>>  		.no_path_retry = (300 / DEFAULT_CHECKINT),
>>  		.prio_name     = PRIO_ALUA,
>>  	},
>> +	{
>> +		/* 3303 NVDISK */
>> +		.vendor        = "IBM",
>> +		.product       = "3303[ ]+NVDISK",
>> +		.no_path_retry = (300 / DEFAULT_CHECKINT),
>> +	},
>>          /*
>>           * Lenovo
>>           */
>> -- 
>> 2.21.0
>>
>> --
>> dm-devel mailing list
>> dm-devel@redhat.com
>> https://www.redhat.com/mailman/listinfo/dm-devel
> 

      reply	other threads:[~2019-08-19 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 17:21 [PATCH] multipath-tools: reorder NVDISK devices Xose Vazquez Perez
2019-08-14 15:41 ` Benjamin Marzinski
2019-08-19 15:45   ` Xose Vazquez Perez [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=894a30db-0af2-6598-e37e-26617ff2b3ea@gmail.com \
    --to=xose.vazquez@gmail.com \
    --cc=bmarzins@redhat.com \
    --cc=brking@linux.vnet.ibm.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.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.