From patchwork Thu Oct 20 16:52:57 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: 9387295 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 5F35F60487 for ; Thu, 20 Oct 2016 17:00:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E8D328B55 for ; Thu, 20 Oct 2016 17:00:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41F6A29CEF; Thu, 20 Oct 2016 17:00:12 +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=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (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 BA8A928B55 for ; Thu, 20 Oct 2016 17:00:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9KGr9r5015429; Thu, 20 Oct 2016 12:53:11 -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 u9KGr8eW014545 for ; Thu, 20 Oct 2016 12:53:08 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9KGr8Yd030364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 20 Oct 2016 12:53:08 -0400 Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (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 89C953B717 for ; Thu, 20 Oct 2016 16:53:03 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id x79so996917lff.2 for ; Thu, 20 Oct 2016 09:53:03 -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=IPXi4zcqpe0dYaiKMC/HW3IKOBq7gdbrmsnyW7wYqFI=; b=dRt9/hII8EDsVg6mDfbTKjzr8NYK2QE7BVkalcQJoZBTgOKCHAPW/FDfnWQsTbJ4UA Y9Bk4ZJEcingwvjkCiHGkBXKA62WbwqBL5Ktd4t9TLFrVYXK2gdgY3I3kJ6A+hl2ayok WsSRTIMpxKrMd7mPgRW2bk5wRDdfRSsswPayTEctl0Xkiyb8U9nlFbcm0bCLxpjR6uSy +qKSA8MzSbeGx9ecSmbNFcO//6pfy9X4aXjum/tTYstNimLXyKS3fHmyipc6/zReuYCk kiW+LGLtWa6hT8KwQAjYm2V8nCzRIdDS5FpYgs1uzcs6ralnQeor8uOvLgDBcR+ulNsM WBnw== 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=IPXi4zcqpe0dYaiKMC/HW3IKOBq7gdbrmsnyW7wYqFI=; b=f9bjaAIdmFI6nQmnxOXNFZ+wPZFpX0zWPNSnKVJEhcIMt2VBCxJ3M7gti7caIQ8J8W RZe3ljlsbWHoMocnkpfomjwtmddXx+cPqLPUT3vw4coIt7QvdvyYhMLqOoJtIAWuKRYK q3Lr/Brhrh2AOgdVF+dz8sKtSUTAxngWZYLV5sKlexPeHX/xoTt0UVwL6y+44DLPX0J4 NkPdq84KwGSxlsfEeaKYeRK1l2VJkSFQXgYhgUwnVZDmmJMXMx7f3q3o7gYCj4FO+pcZ Um3Q06uo0hralZBUgB1tqez0XInijXUPJP0YJ1tjzV4az4w/QPdpOu5RzaT9rrUR9dfO T4mg== X-Gm-Message-State: AA6/9RkHvY9BHW6ZKUYqR4SgHKtSBUBeaRbout6uBC3Ix1ZZ+bvM5jeEN0SV1tDm0LRgpQ== X-Received: by 10.28.74.216 with SMTP id n85mr7114035wmi.39.1476982381849; Thu, 20 Oct 2016 09:53:01 -0700 (PDT) Received: from localhost ([37.29.222.208]) by smtp.gmail.com with ESMTPSA id h10sm80132852wje.48.2016.10.20.09.53.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Oct 2016 09:53:00 -0700 (PDT) From: Xose Vazquez Perez To: Date: Thu, 20 Oct 2016 18:52:57 +0200 Message-Id: <20161020165258.6730-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 20 Oct 2016 16:53:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 20 Oct 2016 16:53:03 +0000 (UTC) for IP:'209.85.215.67' DOMAIN:'mail-lf0-f67.google.com' HELO:'mail-lf0-f67.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.215.67 mail-lf0-f67.google.com 209.85.215.67 mail-lf0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 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] multipath-tools: add Infortrend arrays to 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 Based on info from manufacturer: http://infortrend.com/ImageLoader/LoadDoc/385/True/True Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index d67b217..98da295 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1013,6 +1013,18 @@ static struct hwentry default_hw[] = { .pgpolicy = MULTIBUS, .no_path_retry = 30, }, + /* + * Infortrend Technology + */ + { + /* EonStor / ESVA */ + .vendor = "^IFT", + .product = ".*", + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .prio_name = PRIO_ALUA, + .no_path_retry = 30, + }, #if 0 /* * Copy this TEMPLATE to add new hardware.