From patchwork Tue Jun 21 00:35:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9189117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2C2BC6075E for ; Tue, 21 Jun 2016 00:40:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 180F820265 for ; Tue, 21 Jun 2016 00:40:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C0EE2787D; Tue, 21 Jun 2016 00:40:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B91F420265 for ; Tue, 21 Jun 2016 00:40:20 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u5L0aio6026299; Mon, 20 Jun 2016 20:36:44 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u5L0aEXL020650 for ; Mon, 20 Jun 2016 20:36:14 -0400 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5L0aEVF031759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 20 Jun 2016 20:36:14 -0400 Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7BFDB7D0CC for ; Tue, 21 Jun 2016 00:36:13 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id l184so124009lfl.1 for ; Mon, 20 Jun 2016 17:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zY4303A4hNFzjeUeoqYffVK6AYl0tRft6vk7iNeEmpY=; b=mIp/gwbxxMuBzwb2nF0F8hXZ+PPW6ucKAXgsGIM13puSoydTIhJeCavRz3rc9zcYMY EOHkxIm5Icl1m31LFhFo1l9hhrP6uUvQWesEnoh6NMYKkNhsv6qhsKVNqFkigEmahR8T NuTYmeJoiR0gNXynAJ8GhZRqCSnwIZb0vT90U/b/7BUxgmbJN5xGFufNX39i+WDHf2nW ADuyZ2t0AmeWYq6/M0774SrnLE73eEbMtXlgd72hzW8KrIvDkefFlsReHey81Zmz2Yp3 ue2K0VCONImuPFecNKdUszZFx7XLrsyIxW6Qfq7KsubzzbR2hC6QAd8zhs8cMyQ2bzgL uMig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zY4303A4hNFzjeUeoqYffVK6AYl0tRft6vk7iNeEmpY=; b=FOWhh1GORoxrnaMqjJwtcnsoVh2he+xlfRe5bP/J73Hn0QaP/07ph7L2Dpe8FR9pKV VS6BKuDAdEbvLS4VA8GpadXqhUnfGtEpGXVgdh0VP8L2GudXkeZFlE4iiMJDNKxbweZ+ Zj5iw+c9KihFVySgMg/AUf4qf3yyOzp+2Dt3A9fxz+l3mOhDzFWNaL8qbV2LPTNY94Ou w2dKYI6QYoKLFYfQmXlxTumLgNvWdPNiKdPhkhuenTfb65XbUWUzUhOqaW6+q/ZWLVU6 8jYzd2QA3k0LwNlxYELQjBO/ksDHAXC3PRmnXGgNUoiCaL31a4cHMKHiQa8D7WacGjLD s0aw== X-Gm-Message-State: ALyK8tIZSyWxy7h00FWmDnt7cXjoJDgKf7mfBITKbitkdh+eLuin99XbxmEG0ix7FHfw0w== X-Received: by 10.28.203.205 with SMTP id b196mr520937wmg.34.1466469371985; Mon, 20 Jun 2016 17:36:11 -0700 (PDT) Received: from localhost (152.161.78.188.dynamic.jazztel.es. [188.78.161.152]) by smtp.gmail.com with ESMTPSA id f73sm237212wmg.1.2016.06.20.17.36.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jun 2016 17:36:11 -0700 (PDT) From: Xose Vazquez Perez To: Date: Tue, 21 Jun 2016 02:35:58 +0200 Message-Id: <1466469364-14446-3-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1466469364-14446-1-git-send-email-xose.vazquez@gmail.com> References: <1466469364-14446-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 21 Jun 2016 00:36:13 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 21 Jun 2016 00:36:13 +0000 (UTC) for IP:'209.85.215.68' DOMAIN:'mail-lf0-f68.google.com' HELO:'mail-lf0-f68.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.215.68 mail-lf0-f68.google.com 209.85.215.68 mail-lf0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.76 on 10.5.110.27 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 3/9] multipath-tools: reduce regex for DGC CLARiiON CX/AX and EMC VNX X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- 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",