All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
Cc: device-mapper development <dm-devel@redhat.com>,
	Xose Vazquez Perez <xose.vazquez@gmail.com>
Subject: [PATCH 3/9] multipath-tools: reduce regex for DGC CLARiiON CX/AX and EMC VNX
Date: Tue, 21 Jun 2016 02:35:58 +0200	[thread overview]
Message-ID: <1466469364-14446-3-git-send-email-xose.vazquez@gmail.com> (raw)
In-Reply-To: <1466469364-14446-1-git-send-email-xose.vazquez@gmail.com>

vendor="DGC" and product=".*" is tooooo broad.
Using same product labels as in drivers/scsi/scsi_dh.c

Field-tested with Clariion VNX7500.

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 206d1fd..a8dc0de 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -267,8 +267,8 @@ static struct hwentry default_hw[] = {
 	},
 	{
 		/* DGC CLARiiON CX/AX and EMC VNX */
-		.vendor        = "DGC",
-		.product       = ".*",
+		.vendor        = "^DGC",
+		.product       = "^RAID|^DISK|^VRAID",
 		.bl_product    = "LUNZ",
 		.features      = "1 queue_if_no_path",
 		.hwhandler     = "1 emc",
-- 
2.5.5

  parent reply	other threads:[~2016-06-21  0:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  0:35 [PATCH 1/9] multipath-tools: add iSCSI product id for TEGILE ZEBI Xose Vazquez Perez
2016-06-21  0:35 ` [PATCH 2/9] multipath-tools: remove spaces in S390 devices Xose Vazquez Perez
2016-06-21  0:35 ` Xose Vazquez Perez [this message]
2016-06-21  0:35 ` [PATCH 4/9] multipath-tools: unify DELL MD32xx and MD36xx Xose Vazquez Perez
2016-06-21  0:36 ` [PATCH 5/9] multipath-tools: add DELL MD34xx/MD38xx Xose Vazquez Perez
2016-06-21  0:36 ` [PATCH 6/9] multipath-tools: do not track temp vim files and patches Xose Vazquez Perez
2016-06-21  0:36 ` [PATCH 7/9] multipath-tools: tips on adding new devices with proprietary handlers Xose Vazquez Perez
2016-06-21  0:36 ` [PATCH 8/9] multipath-tools: fix syntax in mpath_persistent_reserve_out.3 Xose Vazquez Perez
2016-06-21  0:36 ` [PATCH 9/9] multipath-tools: minor edit in hwtable Xose Vazquez Perez
2016-07-08  6:36 ` [PATCH 1/9] multipath-tools: add iSCSI product id for TEGILE ZEBI Christophe Varoqui

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=1466469364-14446-3-git-send-email-xose.vazquez@gmail.com \
    --to=xose.vazquez@gmail.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.