From patchwork Thu Dec 4 16:22:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Merla, ShivaKrishna" X-Patchwork-Id: 5439021 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A35C7BEEA8 for ; Thu, 4 Dec 2014 16:27:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DC065201ED for ; Thu, 4 Dec 2014 16:27:30 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 7376420272 for ; Thu, 4 Dec 2014 16:27:26 +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 sB4GNAAO022237; Thu, 4 Dec 2014 11:23:11 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB4GMDnC020091 for ; Thu, 4 Dec 2014 11:22:13 -0500 Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB4GMDJa020140 for ; Thu, 4 Dec 2014 11:22:13 -0500 Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB4GMB75012676 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Thu, 4 Dec 2014 11:22:12 -0500 X-IronPort-AV: E=Sophos;i="5.07,516,1413270000"; d="scan'208";a="216356212" Received: from hioexcmbx02-prd.hq.netapp.com ([10.122.105.35]) by mx12-out.netapp.com with ESMTP; 04 Dec 2014 08:22:11 -0800 Received: from HIOEXCMBX01-PRD.hq.netapp.com (10.122.105.34) by hioexcmbx02-prd.hq.netapp.com (10.122.105.35) with Microsoft SMTP Server (TLS) id 15.0.995.29; Thu, 4 Dec 2014 08:22:10 -0800 Received: from HIOEXCMBX01-PRD.hq.netapp.com ([10.122.105.34]) by hioexcmbx01-prd.hq.netapp.com ([10.122.105.34]) with mapi id 15.00.0995.031; Thu, 4 Dec 2014 08:22:10 -0800 From: "Merla, ShivaKrishna" To: "christophe.varoqui@opensvc.com" Thread-Topic: [PATCH]libmultipath: Add default hardware table entry for IBM DCS3860 with product ID 1813. Thread-Index: AdAP3Gpe8NbVqwATR0eKpumbMM4SXA== Date: Thu, 4 Dec 2014 16:22:10 +0000 Message-ID: <8c81ce8c69dc4c92913c2f1c3c6b50fd@hioexcmbx01-prd.hq.netapp.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.122.56.79] MIME-Version: 1.0 X-RedHat-Spam-Score: -6.911 (BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD, URIBL_BLOCKED) 216.240.18.77 mx12.netapp.com 216.240.18.77 mx12.netapp.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.18 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id sB4GMDnC020091 X-loop: dm-devel@redhat.com Cc: "dm-devel@redhat.com" Subject: [dm-devel] [PATCH]libmultipath: Add default hardware table entry for IBM DCS3860 with product ID 1813. X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adding default hw entry for IBM DCS3860 storage array with product id 1813 and merging similar hw entries together. Signed-off-by: Shiva Krishna Merla --- libmultipath/hwtable.c | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) -- -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index a9dde7f..927d8ca 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -445,39 +445,9 @@ static struct hwentry default_hw[] = { .prio_args = NULL, }, { - /* IBM DS4700 */ + /* IBM DCS3860 / DS4700 / DS4800 / DS5000 */ .vendor = "IBM", - .product = "^1814", - .bl_product = "Universal Xport", - .features = DEFAULT_FEATURES, - .hwhandler = "1 rdac", - .pgpolicy = GROUP_BY_PRIO, - .pgfailback = -FAILBACK_IMMEDIATE, - .rr_weight = RR_WEIGHT_NONE, - .no_path_retry = NO_PATH_RETRY_QUEUE, - .checker_name = RDAC, - .prio_name = PRIO_RDAC, - .prio_args = NULL, - }, - { - /* IBM DS4800 */ - .vendor = "IBM", - .product = "^1815", - .bl_product = "Universal Xport", - .features = DEFAULT_FEATURES, - .hwhandler = "1 rdac", - .pgpolicy = GROUP_BY_PRIO, - .pgfailback = -FAILBACK_IMMEDIATE, - .rr_weight = RR_WEIGHT_NONE, - .no_path_retry = NO_PATH_RETRY_QUEUE, - .checker_name = RDAC, - .prio_name = PRIO_RDAC, - .prio_args = NULL, - }, - { - /* IBM DS5000 */ - .vendor = "IBM", - .product = "^1818", + .product = "^1813|^1814|^1815|^1818", .bl_product = "Universal Xport", .features = DEFAULT_FEATURES, .hwhandler = "1 rdac",