From patchwork Fri Nov 19 03:33:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Marzinski X-Patchwork-Id: 338321 X-Patchwork-Delegate: christophe.varoqui@free.fr Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAJ3ZL71018009 for ; Fri, 19 Nov 2010 03:35:42 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oAJ3XRl3002720; Thu, 18 Nov 2010 22:33:30 -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 oAJ3XPJP014023 for ; Thu, 18 Nov 2010 22:33:25 -0500 Received: from ether.msp.redhat.com (ether.msp.redhat.com [10.15.80.119]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAJ3XJkV030395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Nov 2010 22:33:20 -0500 Received: from ether.msp.redhat.com (localhost.localdomain [127.0.0.1]) by ether.msp.redhat.com (8.14.1/8.14.1) with ESMTP id oAJ3XJV7009919 for ; Thu, 18 Nov 2010 21:33:19 -0600 Received: (from bmarzins@localhost) by ether.msp.redhat.com (8.14.1/8.14.1/Submit) id oAJ3XJr3009918 for dm-devel@redhat.com; Thu, 18 Nov 2010 21:33:19 -0600 Date: Thu, 18 Nov 2010 21:33:18 -0600 From: Benjamin Marzinski To: device-mapper development Message-ID: <20101119033318.GB13763@ether.msp.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-loop: dm-devel@redhat.com Subject: [dm-devel] [PATCH] multipath: update default configurations 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-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 19 Nov 2010 03:35:46 +0000 (UTC) Index: multipath-tools-101104/libmultipath/hwtable.c =================================================================== --- multipath-tools-101104.orig/libmultipath/hwtable.c +++ multipath-tools-101104/libmultipath/hwtable.c @@ -232,7 +232,7 @@ static struct hwentry default_hw[] = { .rr_weight = RR_WEIGHT_NONE, .no_path_retry = 12, .minio = DEFAULT_MINIO, - .checker_name = CCISS_TUR, + .checker_name = TUR, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -975,13 +975,13 @@ static struct hwentry default_hw[] = { .vendor = "SGI", .product = "IS.*", .getuid = DEFAULT_GETUID, - .features = DEFAULT_FEATURES, + .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 = NO_PATH_RETRY_QUEUE, + .no_path_retry = 15, .minio = DEFAULT_MINIO, .checker_name = RDAC, .prio_name = PRIO_RDAC, @@ -1031,6 +1031,21 @@ static struct hwentry default_hw[] = { .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, + { + .vendor = "EUROLOGC", + .product = "FC2502", + .getuid ="/lib/udev/scsi_id --page=0x80 --whitelisted --device=/dev/%n", + .features = DEFAULT_FEATURES, + .hwhandler = DEFAULT_HWHANDLER, + .selector = DEFAULT_SELECTOR, + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = FAILBACK_UNDEF, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = NO_PATH_RETRY_UNDEF, + .minio = DEFAULT_MINIO, + .checker_name = DEFAULT_CHECKER, + .prio_name = DEFAULT_PRIO, + }, /* * Pivot3 RAIGE * Index: multipath-tools-101104/multipath.conf.defaults =================================================================== --- multipath-tools-101104.orig/multipath.conf.defaults +++ multipath-tools-101104/multipath.conf.defaults @@ -626,13 +626,13 @@ # vendor "SGI" # product "IS.*" # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n" -# features "0" +# features "2 pg_init_retries 50" # hardware_handler "1 rdac" # path_selector "round-robin 0" # path_grouping_policy group_by_prio # failback immediate # rr_weight uniform -# no_path_retry queue +# no_path_retry 15 # rr_min_io 1000 # path_checker rdac # prio rdac @@ -730,4 +730,17 @@ # prio rdac # prio_args "" # } +# device { +# vendor "EUROLOGC" +# product "FC2502" +# getuid_callout "/lib/udev/scsi_id --page=0x80 --whitelisted --device=/dev/%n" +# features "0" +# hardware_handler "0" +# path_selector "round-robin 0" +# path_grouping_policy group_by_prio +# rr_weight uniform +# rr_min_io 1000 +# path_checker directio +# prio const +# } #}