From patchwork Sat Jul 30 00:28:25 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: 9252987 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 C78A26075F for ; Sat, 30 Jul 2016 00:33:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B89EC28442 for ; Sat, 30 Jul 2016 00:33:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD90828444; Sat, 30 Jul 2016 00:33: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 4458028442 for ; Sat, 30 Jul 2016 00:33: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 u6U0TGUv002190; Fri, 29 Jul 2016 20:29:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6U0TD1q032642 for ; Fri, 29 Jul 2016 20:29:13 -0400 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6U0TCFj010809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 29 Jul 2016 20:29:13 -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 E47C9C062C8D for ; Sat, 30 Jul 2016 00:29:11 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id i5so17809409wmg.2 for ; Fri, 29 Jul 2016 17:29:11 -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=UOch4Wd4FwsMAXM8G0YMTxvKpxancttSOLjscuiyL/I=; b=g4mYUg447/W3BFwTD3lKqhETM95SYCt8BMGk0nTRBL/A/95iyPa6uQoGY8jQ6K3IVG pPRDImR0LU6qIW90tf17mXZJhRLphz1SB/fCPHe2A49/Kodxe/3S90YZStI4mDYDH66Q JVUyZorKMWgYNFJxJ13/NNdVaAWL0kUB7D+eX3En3CkbXK5/KDHBnkDgpcP/EF52+Je9 1mYvWXXNAE9rPe3HZBQmSE1DlXZFC7PCjI6dQaljif2ZMHbbzgJKXwjmL3wRcmGeBDxU UfQCt+EHDHuRqj/dKxJKNvMQyVFMP3YcEURUgvPsByDgcr/K5MDTLXaKzTmh7RYUj4Se tXng== 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=UOch4Wd4FwsMAXM8G0YMTxvKpxancttSOLjscuiyL/I=; b=g2boeYTxJ/pbbQGvXWrWbhOw7HOBKHiKL8acrVUlYXv/cKFQ+ACRk3E6Nt6/eGNG1T 4D9GGOc0RYyyxsA0D9y2Xitbu4oizB8YqbzpH8HZXdEjGE01BLDQmu5W/HwlkJmsNqzh bCyVqGhd6fGZ0mISwNR5U7EH38M4wmVc9pjWymfB1/EFSuuRY4sahGEXLImDqJkLau8t f/9Uzik1l+K3WT4lBQHxj4W5AfSfyhq8IVDuBxsqqoiert1Ft5wzZCuN4hcIdUafTbfl FVFgvKteu5gXBiBjSpYXkEzA8Orl3yY58k0H4NLnVm0eskFDeU5MO5P7JB3VqDwnjq8C RRrw== X-Gm-Message-State: AEkoouuQ38twDDzdff8O0tucXPihIEXs2tolIR7IztCfxv5EhOjT1vJWxNBVFpMANjn+PQ== X-Received: by 10.194.240.4 with SMTP id vw4mr44979658wjc.22.1469838550645; Fri, 29 Jul 2016 17:29:10 -0700 (PDT) Received: from localhost (247.169.78.188.dynamic.jazztel.es. [188.78.169.247]) by smtp.gmail.com with ESMTPSA id q23sm5289109wme.17.2016.07.29.17.29.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jul 2016 17:29:09 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sat, 30 Jul 2016 02:28:25 +0200 Message-Id: <1469838506-15689-17-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1469838506-15689-1-git-send-email-xose.vazquez@gmail.com> References: <1469838506-15689-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.32]); Sat, 30 Jul 2016 00:29:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sat, 30 Jul 2016 00:29:12 +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.12 (BAYES_50, DCC_REPUT_13_19, 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.23 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 17/18] multipath-tools: add HPE StoreVirtual P4000 family 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 No official documentation. Based on field-tested configuration: https://www.citrix.com/blogs/2013/10/02/hp-p4000-multipath-config-file/ Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index e4c7b7d..51e115d 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -139,6 +139,14 @@ static struct hwentry default_hw[] = { .minio = 100, .prio_name = PRIO_ALUA, }, + /* StoreVirtual P4000 family */ + { + .vendor = "LEFTHAND", + .product = "^(P4000.*|iSCSIDisk)", + .no_path_retry = 18, + .minio = 100, + .prio_name = PRIO_ALUA, + }, /* * DataDirect Networks */