From patchwork Wed Aug 10 16:20:36 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: 9273229 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 928B66022E for ; Wed, 10 Aug 2016 16:25:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82C522656B for ; Wed, 10 Aug 2016 16:25:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EA3E28407; Wed, 10 Aug 2016 16:25:03 +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 E5BD82656B for ; Wed, 10 Aug 2016 16:25:02 +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 u7AGLMDW019534; Wed, 10 Aug 2016 12:21:22 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7AGLEun011203 for ; Wed, 10 Aug 2016 12:21:14 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7AGLDuw028294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 10 Aug 2016 12:21:13 -0400 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.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 F034C43A2C for ; Wed, 10 Aug 2016 16:21:12 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id q128so10533416wma.1 for ; Wed, 10 Aug 2016 09:21:12 -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=fm4wzUZj63L9/Amg25GTmX/d8wBd9JEORN8esaeHG4g=; b=CSNm7JjanvmbOzc8JjdLV47cenBEjse3pkXQg69HTpQnMSBWprwXHLOo5deLYUFGeZ xcxI6B7GFvcD59irn8pKp56mpqesHElOCRanZROOZzh2TtCM4EEpeXYHO1tw8eBwRILT X0W8az3eYUOkMZRbyu0fjF6QA1YXZUjqSb0sLpxer9Tj/6vDRXp8s/6pSK61H7sAQr0R D5HCt6lMKFEGd03QVwqqvJgxiRU3v0OQWcquJLa3NeCX/E3aNed29eY1NfUqvuXZvBPC so+cVodxldSUXgP8LPQK0LKlHQ5inOVTmIpWyJBwBTpi28eeufYEBfs83lg7cDwoUYF4 2K4g== 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=fm4wzUZj63L9/Amg25GTmX/d8wBd9JEORN8esaeHG4g=; b=Kg5UbegBa6KBgG5bYaUGnDl3ms1hTLTU8pPNXOYtmUFbgj6mQJ5xEO0rsDGB8lOhRk c0HLagr/qO8/rYjAJUidYxasLfTIwYESyugOQiX7QUc79Z9DqVZKyWXMCm6/mbhaU0bj NoKo4fspe9qtR+0JpmdPbkV7kqiQ9HtacVC59+bgJTA9deICdImuEOM85Fy5Zn+3z3n1 Xp0LJJmetmH/2jPdNBg3vzxefbHH9FgXQsLu1/diN0Z/Vhg4DuiM5tiEfOQEoX+aU9HV IjCHhYlglFb/Bv7bJz7u+bVr1uNd2N35PtPRKUDF1IWdA7rZbA2GsUAAgzrPfHr1Hb6t Wtsg== X-Gm-Message-State: AEkooutDSRvFQ9tPXmaVZ0awhEmGm8VesbB8SCKvwz5T4+Rw8yA5dy1X6bUfC8sYirNLaQ== X-Received: by 10.194.82.67 with SMTP id g3mr4875200wjy.71.1470846071303; Wed, 10 Aug 2016 09:21:11 -0700 (PDT) Received: from localhost ([46.222.153.25]) by smtp.gmail.com with ESMTPSA id c139sm9137332wme.4.2016.08.10.09.21.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Aug 2016 09:21:10 -0700 (PDT) From: Xose Vazquez Perez To: Date: Wed, 10 Aug 2016 18:20:36 +0200 Message-Id: <1470846038-6590-13-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1470846038-6590-1-git-send-email-xose.vazquez@gmail.com> References: <1470846038-6590-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.30]); Wed, 10 Aug 2016 16:21:13 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 10 Aug 2016 16:21:13 +0000 (UTC) for IP:'74.125.82.68' DOMAIN:'mail-wm0-f68.google.com' HELO:'mail-wm0-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) 74.125.82.68 mail-wm0-f68.google.com 74.125.82.68 mail-wm0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 13/15] multipath-tools: document vendor, product, revision and bl_product are POSIX Extended regex 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 Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 4 ++-- multipath/multipath.conf.5 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index c256d05..bc2d407 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -858,8 +858,8 @@ static struct hwentry default_hw[] = { * * Keep only mandatory and modified attributes. * Attributes with default values must be removed. - * .vendor and .product are mandatory, all other are optional. - * POSIX Extended regex can be used in .vendor, .product, .revision and .bl_product + * Only .vendor and .product are mandatory, all other are optional. + * .vendor, .product, .revision and .bl_product are POSIX Extended regex * * COMPANY_NAME * diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5 index 4602f31..8dc5d08 100644 --- a/multipath/multipath.conf.5 +++ b/multipath/multipath.conf.5 @@ -959,6 +959,8 @@ subsection. . . The \fIdevice\fR subsection recognizes the following attributes: +.TP +vendor, product, revision and product_blacklist are POSIX Extended regex. .TP 17 .B vendor (Mandatory) Vendor identifier.