From patchwork Mon Jun 13 17:02:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9173633 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 580CE60573 for ; Mon, 13 Jun 2016 17:06:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 417BE282EE for ; Mon, 13 Jun 2016 17:06:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34B36281AA; Mon, 13 Jun 2016 17:06:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AC8EC281AA for ; Mon, 13 Jun 2016 17:06:12 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u5DH2QwU009884; Mon, 13 Jun 2016 13:02:27 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u5DH2PJ8027508 for ; Mon, 13 Jun 2016 13:02:25 -0400 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5DH2PGc019924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Jun 2016 13:02:25 -0400 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 76205C049D4F for ; Mon, 13 Jun 2016 17:02:24 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id n184so16369144wmn.1 for ; Mon, 13 Jun 2016 10:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=qVOKI75IQsIqwehmsNHnQccUM9vfcu2tYZ28bhdf17E=; b=JOCxbI6qLFCNdFNPM8mwkGPnoXrXwkSpiviAGlHeLwwkmAH5Xulzwx7uuQ4JDoJJdC dlxjeqaXeZby9pvGH7qqmwko+mYpuO1dxeRwH3+9iViyNkaYvLyXO91bxgcvX0hwaKhQ zk2SjGlbeihd2i97QQdH1fT14v845qJNhCeso9c+1V+zhIdzeYof3aiqn1Ydcr5XgMl6 8XtgnGoBSoETsw8XatTpojX0J9VSdzP3yxAScQcONKD3mm4JiSU7a33Qhj1w7EymykAq TsGcFP114md+uSNqo2ciSCLhJ5TL1FLM96Afl2pbi+eHajcQbsUKSqUtpAF2rZ+Ol9eg RFJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qVOKI75IQsIqwehmsNHnQccUM9vfcu2tYZ28bhdf17E=; b=a6UzZQDtF3UYzv2NhoBiMmPW6tRjhfqjkAiMmWKqwT0LrzUQQKZcKslITQwMo8he5s JmJAlsEm7nwpEhW2ZDecDzK6K8GNnxtNdrgAF4ORt5dR8rJtX1Pe18qg3droLrFtm1BO CRld2ZvtW3Mc/yRrmEhMBet7vALHKA0iXubBoxIu+e1UAdXNyaCza25BiHfoT1XDsjkM p1BoThUJAi14gyvjaLpRfVlQYTa9EwQyCzxTieQJK7p4+Sm6U4r6gPXd4hzOlY5Oc6kz d3638lpBMwoOIX3EX5BKj/qQ/VIpleqcGWihiZqTaLZJJ8J4prkt7HWBR8j+Y14skVgS h5zA== X-Gm-Message-State: ALyK8tI9RzpYP+FY5A0s0YUwNigSYNyIwq+tUGMr1ErXYHFL/MSNix2HjRWjDCS7jWI7AA== X-Received: by 10.194.200.164 with SMTP id jt4mr2178076wjc.18.1465837343164; Mon, 13 Jun 2016 10:02:23 -0700 (PDT) Received: from localhost ([46.222.124.93]) by smtp.gmail.com with ESMTPSA id b200sm15305596wmb.9.2016.06.13.10.02.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jun 2016 10:02:22 -0700 (PDT) From: Xose Vazquez Perez To: Date: Mon, 13 Jun 2016 19:02:20 +0200 Message-Id: <1465837340-20257-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 13 Jun 2016 17:02:24 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 13 Jun 2016 17:02:24 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-f67.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.12 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: change checker in RDAC devices with the native X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk 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-Virus-Scanned: ClamAV using ClamSMTP Replace TUR checker with RDAC for: "OPENstorage D280" "STK6580_6780" I don't know if it's a bug or feature, but for all other RDAC devices "hwhandler" "checker" and "prio" are rdac. *This patch needs an explicit ACK from Hannes and Christophe* Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez Acked-by: Hannes Reinecke --- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index c4258e1..44a4669 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -949,7 +949,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 = RDAC, .prio_name = PRIO_RDAC, .prio_args = NULL, }, @@ -981,7 +981,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 = RDAC, .prio_name = PRIO_RDAC, .prio_args = NULL, },