From patchwork Fri Mar 6 16:38:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: babu moger X-Patchwork-Id: 10396 X-Patchwork-Delegate: christophe.varoqui@free.fr Received: from hormel.redhat.com (hormel1.redhat.com [209.132.177.33]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n26GeEOq000604 for ; Fri, 6 Mar 2009 16:40:14 GMT Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110]) by hormel.redhat.com (Postfix) with ESMTP id 1D2EA61A65D; Fri, 6 Mar 2009 11:40:14 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id n26GeBUS029721 for ; Fri, 6 Mar 2009 11:40:11 -0500 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n26GeDNV014504 for ; Fri, 6 Mar 2009 11:40:13 -0500 Received: from exprod7og114.obsmtp.com (exprod7og114.obsmtp.com [64.18.2.215]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id n26GcDka019013 for ; Fri, 6 Mar 2009 11:38:15 -0500 Received: from source ([147.145.40.20]) by exprod7ob114.postini.com ([64.18.6.12]) with SMTP ID DSNKSbFRdaF0ArvruvLiOTBRZ9KrXawFPf6w@postini.com; Fri, 06 Mar 2009 08:38:21 PST Received: from milmhbs0.lsil.com (mhbs.lsil.com [147.145.1.30]) by mail0.lsil.com (8.12.11/8.12.11) with ESMTP id n26GcAMJ014747; Fri, 6 Mar 2009 08:38:11 -0800 (PST) Received: from coscas01.lsi.com (coscas01.co.lsil.com [172.21.36.60]) by milmhbs0.lsil.com (8.12.11/8.12.11) with ESMTP id n26Gc8B6013722; Fri, 6 Mar 2009 08:38:13 -0800 Received: from cosmail01.lsi.com ([172.21.36.24]) by coscas01.lsi.com ([172.21.36.60]) with mapi; Fri, 6 Mar 2009 09:38:06 -0700 From: "Moger, Babu" To: "dm-devel@redhat.com" Date: Fri, 6 Mar 2009 09:38:05 -0700 Thread-Topic: [PATCH]:[multipath-tools] Adding the hwtable for LSI generic rdac storage devices Thread-Index: Acmeeezoacof2oCGTjS3Tw6TZDymgg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Scanned-By: MIMEDefang 2.63 on 172.16.48.32 X-Scanned-By: MIMEDefang 2.39 X-RedHat-Spam-Score: -3 X-MIME-Autoconverted: from quoted-printable to 8bit by listman.util.phx.redhat.com id n26GeBUS029721 X-loop: dm-devel@redhat.com Cc: Subject: [dm-devel] [PATCH]:[multipath-tools] Adding the hwtable for LSI generic rdac storage devices X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.5 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 This patch adds the hwtable for LSI rdac generic storage. Also sets the feature pg_init_retries to maximum(50). Signed-off-by: Babu Moger --- -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel --- multipath-tools/libmultipath/hwtable.c.orig 2009-03-04 14:33:11.000000000 -0600 +++ multipath-tools/libmultipath/hwtable.c 2009-03-04 14:43:57.000000000 -0600 @@ -837,6 +837,22 @@ static struct hwentry default_hw[] = { .checker_name = RDAC, .prio_name = PRIO_RDAC, }, + /* LSI Generic rdac storage */ + { + .vendor = "(LSI|ENGENIO)", + .product = "INF-01-00", + .getuid = DEFAULT_GETUID, + .features = "2 pg_init_retries 50", + .hwhandler = "1 rdac", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = 15, + .minio = DEFAULT_MINIO, + .checker_name = RDAC, + .prio_name = PRIO_RDAC, + }, /* * EOL */