From patchwork Thu Jun 4 18:10:38 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian King X-Patchwork-Id: 27980 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 n54IB7uw001745 for ; Thu, 4 Jun 2009 18:11:07 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 0C2CE619BFA; Thu, 4 Jun 2009 14:11:07 -0400 (EDT) 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 n54IB4V3017585 for ; Thu, 4 Jun 2009 14:11:04 -0400 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 n54IB3hq031103 for ; Thu, 4 Jun 2009 14:11:03 -0400 Received: from e6.ny.us.ibm.com (e6.ny.us.ibm.com [32.97.182.146]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id n54IAf2H015798 for ; Thu, 4 Jun 2009 14:10:41 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n54IDKKS010466 for ; Thu, 4 Jun 2009 14:13:20 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n54IAeoI255398 for ; Thu, 4 Jun 2009 14:10:40 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n54IAeGW006589 for ; Thu, 4 Jun 2009 14:10:40 -0400 Received: from localhost.localdomain (sig-9-65-164-71.mts.ibm.com [9.65.164.71]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n54IAdAQ006547; Thu, 4 Jun 2009 14:10:40 -0400 Message-Id: <200906041810.n54IAdAQ006547@d01av04.pok.ibm.com> To: dm-devel@redhat.com From: Brian King Date: Thu, 04 Jun 2009 13:10:38 -0500 X-RedHat-Spam-Score: -3.5 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Scanned-By: MIMEDefang 2.63 on 172.16.48.32 X-loop: dm-devel@redhat.com Cc: brking@linux.vnet.ibm.com Subject: [dm-devel] [PATCH 1/1] multipath_tools: Add IBM Virtual SCSI to hwtable 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 Add entry to the hwtable for IBM Power Virtual SCSI devices. Signed-off-by: Brian King --- libmultipath/hwtable.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff -puN libmultipath/hwtable.c~mpath_vios libmultipath/hwtable.c --- multipath-tools/libmultipath/hwtable.c~mpath_vios 2009-06-03 17:40:56.000000000 -0500 +++ multipath-tools-bjking1/libmultipath/hwtable.c 2009-06-04 09:54:33.000000000 -0500 @@ -634,6 +634,28 @@ static struct hwentry default_hw[] = { .checker_name = TUR, .prio_name = PRIO_ALUA, }, + /* + * IBM Power Virtual SCSI Devices + * + * Maintainer : Brian King, IBM + * Mail : brking@linux.vnet.ibm.com + */ + { + /* AIX VDASD */ + .vendor = "AIX", + .product = "VDASD", + .getuid = DEFAULT_GETUID, + .features = DEFAULT_FEATURES, + .hwhandler = DEFAULT_HWHANDLER, + .selector = DEFAULT_SELECTOR, + .pgpolicy = MULTIBUS, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = (300 / DEFAULT_CHECKINT), + .minio = DEFAULT_MINIO, + .checker_name = DIRECTIO, + .prio_name = DEFAULT_PRIO, + }, { /* DELL MD3000 */ .vendor = "DELL",