From patchwork Fri Oct 14 16:44:59 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: 9377039 X-Patchwork-Delegate: snitzer@redhat.com 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 B323E607FD for ; Fri, 14 Oct 2016 16:47:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1EE62A795 for ; Fri, 14 Oct 2016 16:47:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 936CD2A775; Fri, 14 Oct 2016 16:47:46 +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 2CD852A775 for ; Fri, 14 Oct 2016 16:47:45 +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 u9EGjAAZ011894; Fri, 14 Oct 2016 12:45:11 -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 u9EGj9nP032054 for ; Fri, 14 Oct 2016 12:45:09 -0400 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9EGj9Oe013972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 14 Oct 2016 12:45:09 -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 4ED877DD34 for ; Fri, 14 Oct 2016 16:45:07 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id z189so552576wmb.1 for ; Fri, 14 Oct 2016 09:45:07 -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; bh=GFF5rchDYz3bm4a2UZuzcAhTuzDkmHtVJCqwEfbbu5A=; b=FecvG93DZUYvjkLvOCiWAAmksQXIbQAIhjnkFPLOV00kttxxR42LG7amEPsht4M69R Zl5YCkIbl2yqU+xin5GuBG8UdUxCdgpXTgIL0sMbGDDdE9qJSGsWAMMSQqnOfsO9irJP V3mr+OChrr6+8vmgjk+DXhOh1EtQwBc4KSeALTREDHg2hOqpG6kIA++/++D/e9zlwIlY 5A6+619HuGx6zarNv1tMi+Mm+qCAzpOWFadarRfPnS3TVbVCYoQgn7aH/wJnurst2o2B tuG8Jkt+VQ+qJkxBEIKQR1l3h6Cr4JbpkwAYQ4ebdSMWKqdUhvqMeKQtY4zSpxPY/MU+ VTpQ== 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=GFF5rchDYz3bm4a2UZuzcAhTuzDkmHtVJCqwEfbbu5A=; b=ApVEPh+JgnGbwpODcYhOnP2kJCzage5lbGRjLvWtsW3T8hDAPDkp0OVA5Cbx8O8LYa 4pByebmfhoJBtWi03vt/J2V/OZs5Mdum7V5Lhx+tqkVLhhur1NPdjtQlLOJJkyWSVQW6 lq/OwY3zQAPFnuTIo+pt+ccbGPxzzdfs8pA10AIneK5O+X7lPFRhcgJ2jzavqcQCJd1x NFhNn2BcAmaWrtdq0J/xxSYNEuZ+uyW0UEkRO5USRVhi1XChnTq1ym5n1Iwz/1Qf2mbK DZnm4Ldj4PXlIBqvq259AA4wfW7ge5GWlP6hsv7rAogochFAGPXWWsgIeZhA8mdaqYyS Sdrw== X-Gm-Message-State: AA6/9Rn+37wNDVJj+9lrpHB7kdDNHQ3mjYbiKKy0+U6D2MjbRK5WDSY7TCiB+6zsR+MZnA== X-Received: by 10.194.173.1 with SMTP id bg1mr2635729wjc.119.1476463506046; Fri, 14 Oct 2016 09:45:06 -0700 (PDT) Received: from localhost ([31.221.222.103]) by smtp.gmail.com with ESMTPSA id g11sm647776wme.16.2016.10.14.09.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Oct 2016 09:45:02 -0700 (PDT) From: Xose Vazquez Perez To: Date: Fri, 14 Oct 2016 18:44:59 +0200 Message-Id: <20161014164459.7158-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 14 Oct 2016 16:45:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 14 Oct 2016 16:45:07 +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.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.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.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: add missing hardware handler to ALUA 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 Nimble/Server and TEGILE/(ZEBI-(FC|ISCSI)|INTELLIFLASH) 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 dc3010a..aca46ab 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -888,6 +888,7 @@ static struct hwentry default_hw[] = { { .vendor = "Nimble", .product = "Server", + .hwhandler = "1 alua", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_ALUA, @@ -907,6 +908,7 @@ static struct hwentry default_hw[] = { { .vendor = "TEGILE", .product = "(ZEBI-(FC|ISCSI)|INTELLIFLASH)", + .hwhandler = "1 alua", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_ALUA,