From patchwork Fri Oct 7 13:15:22 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: 9366089 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 404A36075E for ; Fri, 7 Oct 2016 13:18:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32A82295EA for ; Fri, 7 Oct 2016 13:18:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2741B295F5; Fri, 7 Oct 2016 13:18:11 +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 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 EEE49295EA for ; Fri, 7 Oct 2016 13:18:09 +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 u97DFUQ7050105; Fri, 7 Oct 2016 09:15:30 -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 u97DFSFu028805 for ; Fri, 7 Oct 2016 09:15:28 -0400 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u97DFS3q031850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 7 Oct 2016 09:15:28 -0400 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.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 A6AECC05A296 for ; Fri, 7 Oct 2016 13:15:26 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id i130so2948826wmg.0 for ; Fri, 07 Oct 2016 06:15:26 -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=ATfEUigHXL05XprJ/EtYgbfqk65YqJc1+/V3hpPGz+U=; b=SGJu3MIC6hkRCkYhHkuEalmoV7LOVlY7K7i4foss4OOwCZQY8b9MMFlPzvrAhD4sbz ZHy0FYIB4l+lm9qeXBNX9QanpB2zzBW67UqDBCC9F9vEXgQ23NdPTLD9yeFZcFvUY3Lq EhEaLF0JiedUXbOuFBuO2QCmBaT/bzJdY9nL9W4KK72Bjz7bzhnukoZXCTgpqKPbRnSc lnMdrh+2TZI/E4l325+bQY5kVZK5R+TQKWX7nGos6JTV1eugZWo2cC36MriMhoEO9Lmv XmunV/3ZZYpl9pN80WRWa7ciQ5RhVsoYY6En4oyhWkvK4Cb5GELSp4Lj2rquCn2ozuqU Zmmw== 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=ATfEUigHXL05XprJ/EtYgbfqk65YqJc1+/V3hpPGz+U=; b=IBYvx57dSaUy6NgaEqb5b4b56C/p2cBTkJBiEGcJiN7VR1Wky5OLE6oYQ6I+FWQfIy ALgBNCpOFP8QFAFaJ+PaufJvAaJdQqEEBGEl1lTvnM3PGW2AjU91MEQHaYk8phEDkn3Q HYUtwSLi/jEjg6XsNWjKySBwBo364XdJxKizOk0aJTDjo7SrC9ULGSrJ5CYBeNWJP2bI DWWf123fCHnMvmmHIomeCWJDf27PUxJRUPuvvU1ZYeuGJx/NeUGlETxko57D+IWVZY3J LqQ8qOkLkhDZzSJlYYCdRVnpkRRr36YwCB1M7J9UsLEK2aMn7SnKI/Dsu+9ZC46cXCTC 9Dog== X-Gm-Message-State: AA6/9RmEcgXCIpquczE6qvG4U54TjLFcX056/DneyKipzpDv+e7ZEPIR5d1gUx2NikOnJg== X-Received: by 10.28.196.14 with SMTP id u14mr20418056wmf.17.1475846125349; Fri, 07 Oct 2016 06:15:25 -0700 (PDT) Received: from localhost ([46.222.218.188]) by smtp.gmail.com with ESMTPSA id t138sm2979591wmt.5.2016.10.07.06.15.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Oct 2016 06:15:24 -0700 (PDT) From: Xose Vazquez Perez To: Date: Fri, 7 Oct 2016 15:15:22 +0200 Message-Id: <20161007131522.3442-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 07 Oct 2016 13:15:26 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 07 Oct 2016 13:15:26 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-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) 74.125.82.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 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] multipath-tools: add IBM/FlashSystem 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 System Vendor Product Multipathing Policy =============== ====== ================ ======================= FlashSystem 710 IBM FlashSystem Symmetric Active/Active FlashSystem 720 IBM FlashSystem Symmetric Active/Active FlashSystem 810 IBM FlashSystem Symmetric Active/Active FlashSystem 820 IBM FlashSystem Symmetric Active/Active FlashSystem 840 IBM FlashSystem-9840 Symmetric Active/Active FlashSystem 900 IBM FlashSystem-9840 Symmetric Active/Active Based on documentation from the manufacturer: http://www.redbooks.ibm.com/redbooks/pdfs/sg248271.pdf Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index e1b055a..ff6989d 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -522,6 +522,13 @@ static struct hwentry default_hw[] = { .no_path_retry = NO_PATH_RETRY_QUEUE, .pgpolicy = MULTIBUS, }, + { + /* FlashSystem 710/720/810/820/840/900 */ + .vendor = "IBM", + .product = "FlashSystem", + .no_path_retry = NO_PATH_RETRY_FAIL, + .pgpolicy = MULTIBUS, + }, /* * IBM Power Virtual SCSI Devices *