From patchwork Wed Jun 24 21:04:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charlie Brady X-Patchwork-Id: 32259 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 n5OL5J9E027313 for ; Wed, 24 Jun 2009 21:05:19 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 8555F618A7D; Wed, 24 Jun 2009 17:05:14 -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 n5OL5CqQ011393 for ; Wed, 24 Jun 2009 17:05:12 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5OL5CdC019422 for ; Wed, 24 Jun 2009 17:05:12 -0400 Received: from mail.ncf.ca (saruman.ncf.ca [134.117.136.37]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n5OL4vHf031372 for ; Wed, 24 Jun 2009 17:04:57 -0400 Received: from charlieb.ott.istop.com (206-248-169-175.dsl.ncf.ca [206.248.169.175]) by mail.ncf.ca (Postfix) with SMTP id 0928343A18 for ; Wed, 24 Jun 2009 17:04:51 -0400 (EDT) Received: (qmail 24482 invoked by uid 453); 24 Jun 2009 21:04:47 -0000 Received: from e-smith.charlieb.ott.istop.com (HELO e-smith.charlieb.ott.istop.com) (192.168.117.1) by charlieb.ott.istop.com (qpsmtpd/0.40) with ESMTP; Wed, 24 Jun 2009 17:04:47 -0400 Date: Wed, 24 Jun 2009 17:04:47 -0400 (EDT) From: Charlie Brady X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com To: sekharan@linux.vnet.ibm.com, device-mapper development Subject: [PATCH multipath-tools-0.4.7.rhel5.13] Re: [dm-devel] multipathd configuration for Sun StorageTek 2510 In-Reply-To: <1245868230.26915.22.camel@chandra-ubuntu> Message-ID: References: <1245868230.26915.22.camel@chandra-ubuntu> MIME-Version: 1.0 X-RedHat-Spam-Score: 0 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Scanned-By: MIMEDefang 2.63 on 172.16.48.31 X-loop: dm-devel@redhat.com Cc: 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 On Wed, 24 Jun 2009, Chandra Seetharaman wrote: > I see "SUN" "LCSM100_F" in hwtable.c Christophe's tree > (http://git.kernel.org/?p=linux/storage/multipath-tools/.git) Does Christophe's repo have a problem? bash-3.2$ git-clone http://git.kernel.org/?p=linux/storage/multipath-tools/.git Initialized empty Git repository in /home/speech/bradyc/WIP/multipath-tools.upstream/multipath-tools/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? bash-3.2$ Signed-off-by: Charlie Brady --- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel diff -ru multipath-tools-0.4.7.rhel5.13.orig/libmultipath/hwtable.c multipath-tools-0.4.7.rhel5.13/libmultipath/hwtable.c --- multipath-tools-0.4.7.rhel5.13.orig/libmultipath/hwtable.c 2008-08-29 14:30:27.000000000 -0400 +++ multipath-tools-0.4.7.rhel5.13/libmultipath/hwtable.c 2009-06-24 16:54:18.431447000 -0400 @@ -691,6 +691,22 @@ .minio = DEFAULT_MINIO, .checker_name = RDAC, }, + /* SUN/LSI 2510 */ + { + .vendor = "SUN", + .product = "LCSM100_I", + .getuid = DEFAULT_GETUID, + .getprio = "/sbin/mpath_prio_rdac /dev/%n", + .features = DEFAULT_FEATURES, + .hwhandler = "1 rdac", + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = NO_PATH_RETRY_QUEUE, + .minio = DEFAULT_MINIO, + .checker_name = RDAC, + }, /* * DELL arrays */ diff -ru multipath-tools-0.4.7.rhel5.13.orig/multipath.conf.defaults multipath-tools-0.4.7.rhel5.13/multipath.conf.defaults --- multipath-tools-0.4.7.rhel5.13.orig/multipath.conf.defaults 2008-08-29 14:30:26.000000000 -0400 +++ multipath-tools-0.4.7.rhel5.13/multipath.conf.defaults 2009-06-24 16:52:35.661869000 -0400 @@ -505,6 +505,20 @@ # rr_min_io 1000 # path_checker rdac # } +# device { +# vendor "SUN" +# product "LCSM100_I" +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n" +# prio_callout "/sbin/mpath_prio_rdac /dev/%n" +# features "0" +# hardware_handler "1 rdac" +# path_grouping_policy group_by_prio +# failback immediate +# rr_weight uniform +# no_path_retry queue +# rr_min_io 1000 +# path_checker rdac +# } # device { # vendor "GNBD" # product "GNBD"