From patchwork Fri Mar 26 19:28:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian King X-Patchwork-Id: 88558 Received: from mx02.colomx.prod.int.phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2QJUc6Y000514 for ; Fri, 26 Mar 2010 19:31:13 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx02.colomx.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2QJSPmn012638; Fri, 26 Mar 2010 15:28:26 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2QJSNJA010950 for ; Fri, 26 Mar 2010 15:28:23 -0400 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.9]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2QJSHKt009766 for ; Fri, 26 Mar 2010 15:28:18 -0400 Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2QJSHUw024406 for ; Fri, 26 Mar 2010 15:28:17 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e7.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o2QJJZSG003002 for ; Fri, 26 Mar 2010 15:19:35 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2QJSGcZ1597526 for ; Fri, 26 Mar 2010 15:28:16 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2QJSF71020138 for ; Fri, 26 Mar 2010 16:28:15 -0300 Received: from localhost.localdomain (skaro.rchland.ibm.com [9.10.86.22]) by d01av03.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o2QJSFZv020128; Fri, 26 Mar 2010 16:28:15 -0300 Message-Id: <201003261928.o2QJSFZv020128@d01av03.pok.ibm.com> To: dm-devel@redhat.com From: Brian King Date: Fri, 26 Mar 2010 14:28:14 -0500 X-RedHat-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.9 X-loop: dm-devel@redhat.com Cc: brking@linux.vnet.ibm.com Subject: [dm-devel] [PATCH 1/1] multipath_tools: Add IBM Virtual SCSI ALUA device type to hwtable 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: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 26 Mar 2010 19:31:14 +0000 (UTC) diff -puN libmultipath/hwtable.c~mpath_nvdisk libmultipath/hwtable.c --- multipath-tools/libmultipath/hwtable.c~mpath_nvdisk 2010-03-26 14:25:53.000000000 -0500 +++ multipath-tools-bjking1/libmultipath/hwtable.c 2010-03-26 14:25:53.000000000 -0500 @@ -703,6 +703,23 @@ static struct hwentry default_hw[] = { .prio_name = DEFAULT_PRIO, }, { + /* AIX NVDISK */ + .vendor = "AIX", + .product = "NVDISK", + .getuid = DEFAULT_GETUID, + .features = DEFAULT_FEATURES, + .hwhandler = "1 alua", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = (300 / DEFAULT_CHECKINT), + .minio = DEFAULT_MINIO, + .checker_name = TUR, + .prio_name = PRIO_ALUA, + }, + + { /* DELL MD3000 */ .vendor = "DELL", .product = "MD3000",