From patchwork Thu Aug 11 18:33:38 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: 9275777 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 D8E676022E for ; Thu, 11 Aug 2016 18:37:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC4A728768 for ; Thu, 11 Aug 2016 18:37:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C10C828777; Thu, 11 Aug 2016 18:37:10 +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 4C40728768 for ; Thu, 11 Aug 2016 18:37:10 +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 u7BIXqTZ005828; Thu, 11 Aug 2016 14:33:52 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7BIXjlh020433 for ; Thu, 11 Aug 2016 14:33:45 -0400 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7BIXjRA008394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 11 Aug 2016 14:33:45 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (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 2153C6A0B for ; Thu, 11 Aug 2016 18:33:45 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i5so781670wmg.2 for ; Thu, 11 Aug 2016 11:33:45 -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=9IKd9SQmJiB/PyKv6se9+oyooEUqMG2ktkhs9ZbsHhM=; b=LS1nTAX9GKOj9cT5Rc0J6cWTJvpHYGxQ3feWYQFAB/qPBDWUJ7RkNWbTF3cDS3LE16 VjHN17yGhi9ZDk0uOy94IWv7kHoysewwzqRmHjrFCdnwbHSRM8fV1aenGIRjXTGt2bor 4ryfkJfEykAmrYCNO7VQZUmkNxii1lEfWZCE+bG4APG7jpfvoqKm09G+FZt6QA9Ru2MA YTLt5rzdLU87Ngd0Muf8c1dzym8sQgaAuBiaZWFPz5jbB6eQRGkLOwlNn77ceNpO4pkz +iAP7WLtXwBn1KmeamtcRumdGh3hYr7jw8z2nWpCxWBzE4PezazyiLAGWXz0giREC55C V98g== 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=9IKd9SQmJiB/PyKv6se9+oyooEUqMG2ktkhs9ZbsHhM=; b=EGxBKvMA+FKIaD/U5AEIwbEfiXyEruGk2zXiJMcE6NKIPlpHTcddIxhQGMmB1HTo1f 7QCv8owKKDqTPoMypxS2nTtbMyscrtcv+g4J7r8+ilOUxOAciIjPlKjqtzq/w+JXZzGS XUEqvJmF+k5mAk1PjXv25hlriYK5R9MuAt8nG9hbq60OCG5KKGgXLzez3mus+rVbJnjc QX/AIieW9BrnlGUh0gojJ+KOloQipolgn+MBmeBwFAem+soggO5oosc/1fgNZ0+/mFYX nE4LTcJn9HwYQ0gVqtJbV2K8/2KzrJzufYArvy31qLM5FsVvFErtfhlhDveHVZIbIQ/J dLwg== X-Gm-Message-State: AEkoouukffBPA3uCoj4FvECA1LSVyHxr6JUi9AIozJuDuKxPl3U80fM3IX8K2WH8jU0uGQ== X-Received: by 10.194.149.113 with SMTP id tz17mr13594907wjb.64.1470940423850; Thu, 11 Aug 2016 11:33:43 -0700 (PDT) Received: from localhost ([31.221.137.200]) by smtp.gmail.com with ESMTPSA id d62sm1023825wmd.7.2016.08.11.11.33.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 11:33:43 -0700 (PDT) From: Xose Vazquez Perez To: Date: Thu, 11 Aug 2016 20:33:38 +0200 Message-Id: <1470940418-4604-2-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1470940418-4604-1-git-send-email-xose.vazquez@gmail.com> References: <1470940418-4604-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.39]); Thu, 11 Aug 2016 18:33:45 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 11 Aug 2016 18:33:45 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.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) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development , Matthias Rudolph , Xose Vazquez Perez Subject: [dm-devel] [PATCH 11/11] multipath-tools: modify product regex in HDS devices 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 regex for product="DF" is tooooo wide. Also changed for VSP to "^OPEN-" I asked Matthias before make this change. Cc: Matthias Rudolph 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 62633b1..a69002f 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -278,14 +278,14 @@ static struct hwentry default_hw[] = { { /* USP-V, HUS VM, VSP, VSP G1000 and VSP GX00 families */ .vendor = "(HITACHI|HP)", - .product = "OPEN-", + .product = "^OPEN-", .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, { /* AMS 2000 and HUS 100 families */ .vendor = "HITACHI", - .product = "DF", + .product = "^DF", .features = "1 queue_if_no_path", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE,