From patchwork Thu Dec 8 21:45:00 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: 9467181 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 965AB6071E for ; Thu, 8 Dec 2016 21:46:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A5F028616 for ; Thu, 8 Dec 2016 21:46:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F15628618; Thu, 8 Dec 2016 21:46:19 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2D1A928616 for ; Thu, 8 Dec 2016 21:46:18 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB8Lj64A053811; Thu, 8 Dec 2016 16:45:06 -0500 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 uB8Lj4i3031033 for ; Thu, 8 Dec 2016 16:45:04 -0500 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB8Lj4V3032764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 8 Dec 2016 16:45:04 -0500 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) (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 9977F4E33B; Thu, 8 Dec 2016 21:45:03 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id u144so6292721wmu.0; Thu, 08 Dec 2016 13:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=PKtlJQ1/r5olwoIlx/z30WnCjNSdTLQEhTUruZKELho=; b=Wqvu3gTIb4Mz8u29w1RhESDjlcu++lY+3qKNEpj7Tr/VxD4JV00nyOV5W90yi6L+MK ot6z/abbr27NQ2k+DQDxaYKT3OC3e/mNMdP5yI8ISCbhb+9JRW+DH9zq0+0WYUM31wdh IuFzQpiHsesX5zlppUWOqEWCHu3GmD65/yg0tM+EDIjPP4QZUuape/H7/GFokNMUUUUG miEcxzjPB9efEKeSurxTqjrXdRq6fhtrOgedbxfZYzyONJwhHCMDxBOPEFe2bRWH7xm/ ZfwGoBjQDEUi7wOmtm+QgEecFWdj/DIt+OJJN/xmKNHZ7i4tsG2iFSGt+C8ErBTW+r3T YzvA== 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; bh=PKtlJQ1/r5olwoIlx/z30WnCjNSdTLQEhTUruZKELho=; b=S6TOZ15V5JKfRHPt4OjaMMCgPAtnLX8GQjY1boRnDZrO/9i8dHYuq3veV2BAfiMTS9 vE5hc+QLtDC/5EGxvckUvXZypQwWxcM729fDvz2CYVMhvhOpG90XQ1ubUepQB5DrBdRO Z+lxhaJ6Yun1rudokOs2BP1k9RR3suRg5RmVp+WpsiwVLze4cil1EOA0HDATMv6VOOHE asErG71a0fiNKPoZcja1jobKq1YQbCnCrmA//M0YOfvqRBAcGVqMd/gL5G4bvH0fqr/w QiljoDHCrEMBuWP2fUdGIEcckeMhJj6A6oe/R8Zqt7eeYL3XX2pyhE6nDaN3Q5AjnFQi 8qjw== X-Gm-Message-State: AKaTC01h++TedvOumdzOK2fZoIDM9Q9YSXAzHzYmxOmA8CcdkELCu9pdGWwJW7Jn7q7RBA== X-Received: by 10.28.95.85 with SMTP id t82mr3830885wmb.56.1481233502252; Thu, 08 Dec 2016 13:45:02 -0800 (PST) Received: from localhost (232.196.218.87.dynamic.jazztel.es. [87.218.196.232]) by smtp.gmail.com with ESMTPSA id u81sm17292214wmu.10.2016.12.08.13.45.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Dec 2016 13:45:01 -0800 (PST) From: Xose Vazquez Perez To: Date: Thu, 8 Dec 2016 22:45:00 +0100 Message-Id: <20161208214500.14514-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 08 Dec 2016 21:45:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 08 Dec 2016 21:45:03 +0000 (UTC) for IP:'74.125.82.65' DOMAIN:'mail-wm0-f65.google.com' HELO:'mail-wm0-f65.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.67 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.65 mail-wm0-f65.google.com 74.125.82.65 mail-wm0-f65.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-loop: dm-devel@redhat.com Cc: Xose Vazquez Perez , device-mapper development Subject: [dm-devel] [PATCH] multipath-tools: add .skip_kpartx and .max_sectors_kb to template in hwtable 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: Benjamin Marzinski Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index c6fc3d1..f5a5f7b 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1115,6 +1115,8 @@ static struct hwentry default_hw[] = { .deferred_remove = DEFERRED_REMOVE_OFF, .delay_watch_checks = DELAY_CHECKS_OFF, .delay_wait_checks = DELAY_CHECKS_OFF, + .skip_kpartx = SKIP_KPARTX_OFF, + .max_sectors_kb = MAX_SECTORS_KB_UNDEF, }, #endif /*