From patchwork Wed Sep 24 19:57:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wenxiong@linux.vnet.ibm.com X-Patchwork-Id: 4973201 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BEBF6BEEA6 for ; Thu, 25 Sep 2014 06:14:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05EB22027D for ; Thu, 25 Sep 2014 06:14:43 +0000 (UTC) Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30F3920274 for ; Thu, 25 Sep 2014 06:14:42 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8P6A3Rd007260; Thu, 25 Sep 2014 02:10:04 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s8OKJXAh005145 for ; Wed, 24 Sep 2014 16:19:33 -0400 Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8OKJXaK007615 for ; Wed, 24 Sep 2014 16:19:33 -0400 Received: from jupiter1-lp2.austin.ibm.com ([32.97.110.57]) by mx1.redhat.com (8.14.4/8.14.4) with SMTP id s8OKJMZb019187 for ; Wed, 24 Sep 2014 16:19:22 -0400 Received: by jupiter1-lp2.austin.ibm.com (Postfix, from userid 0) id 6EF5B1209BD; Wed, 24 Sep 2014 14:57:52 -0500 (CDT) Message-Id: <20140924195752.289011902@linux.vnet.ibm.com> References: <20140924195721.148637349@linux.vnet.ibm.com> User-Agent: quilt/0.46-1 Date: Wed, 24 Sep 2014 14:57:22 -0500 From: wenxiong@linux.vnet.ibm.com To: dm-devel@redhat.com Content-Disposition: inline; filename=ipr_multipath X-RedHat-NoPTR: 32.97.110.57 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 0.342 (BAYES_00,RCVD_IN_BRBL_LASTEXT,RDNS_NONE) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.17 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Thu, 25 Sep 2014 02:10:02 -0400 Cc: Wen Xiong Subject: [dm-devel] [PATCH 1/1] multipath-tools: Change path checker for IBM IPR devices 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-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We would like to change path checker to directio for IBM IPR devices. Signed-off-by: Wen Xiong --- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/libmultipath/hwtable.c =================================================================== --- a/libmultipath/hwtable.c 2014-09-23 17:39:27.000000000 -0500 +++ b/libmultipath/hwtable.c 2014-09-23 17:40:31.419667000 -0500 @@ -630,7 +630,7 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = TUR, + .checker_name = DIRECTIO, .prio_name = PRIO_ALUA, .prio_args = NULL, },