From patchwork Tue Oct 17 07:55:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnon Yaari X-Patchwork-Id: 10011049 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 2B860601E7 for ; Tue, 17 Oct 2017 07:55:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6D728769 for ; Tue, 17 Oct 2017 07:55:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0CFFF28788; Tue, 17 Oct 2017 07:55:51 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 616D228769 for ; Tue, 17 Oct 2017 07:55:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DD1BD7E43D; Tue, 17 Oct 2017 07:55:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DD1BD7E43D Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=infinidat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com DD1BD7E43D Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infinidat-com.20150623.gappssmtp.com header.i=@infinidat-com.20150623.gappssmtp.com header.b="cliMbgPF" Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2374B7D899; Tue, 17 Oct 2017 07:55:47 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7727A3FAED; Tue, 17 Oct 2017 07:55:44 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v9H7tgHd001221 for ; Tue, 17 Oct 2017 03:55:42 -0400 Received: by smtp.corp.redhat.com (Postfix) id A19D477667; Tue, 17 Oct 2017 07:55:42 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9BDED77665 for ; Tue, 17 Oct 2017 07:55:38 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) (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 6FF374E90A for ; Tue, 17 Oct 2017 07:55:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6FF374E90A Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=infinidat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=arnony@infinidat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6FF374E90A Received: by mail-qk0-f171.google.com with SMTP id m189so929158qke.4 for ; Tue, 17 Oct 2017 00:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinidat-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=36UyN2jEWCNBo8dWlS42yxaE4KtVVdQurxWNbcuJYqU=; b=cliMbgPFHtwq/N+3L0jsg7ahLscNmtYZRpSz9sKcCe8YbqG0Ahm+YJB0ndQ/hUNzUM gNk8k+Wmx78aNyzs+5capjHtRH4wpV3nyOPbH31S3o1q0rTMfmZV4gHskD20flc6cllg NoGa+lftrCB4rDiMTpy0rXu2oh7PzjUj005ML3USFG/ISogWtF+mbm7y/bxSp3c1QLTr HXqWZs+3oSR9u0mVmAN7mmRCiHkugANn4S+EIL+bSCbeuEOS/m4JGy9Gdm/o9jodu5pq wADnhn83KEXd0WFptbAp4KmnuP1DnNm/rr7swKtA7TjN0XNQF7mI1FgzhhqD1uVgW7h5 FG3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=36UyN2jEWCNBo8dWlS42yxaE4KtVVdQurxWNbcuJYqU=; b=buVH4WXn4B5QlHbwfbpeL7k/WLr1gRcPnldpB1orKxWBf5g3LTB7Rv3TvNy+OcorJK I8CroP6WLa7aLiDFlTDMaTAA/0hHQG2L9nyOLVFWs3e3qkPTXbDiMCJwp82DjuDj/bWl nRo2Wi8SYszXo+aHb26GPVh+HattdR+y+cDO9qSZYgKmtBIls2eWsNHejTqkeQNY5FyY 3iKQo83UYIjXkBhJyKTdq20tLTwppwV14pZTdSFV41H49R44k7mDuEI396IA6UuqvvzS z5ohZnkJyfsmHBduYNKaECeDYa1tl7xEVnpQIdbZ4lmUJozxqaA13XANrPWuZCa2AmV4 HJUA== X-Gm-Message-State: AMCzsaVS8Y72y3nZOCS164k8WXxjkWia5raE9sVl4B404jM+a+qWgSBX vyxxVyw9oMDSAsfnZCFlgFI5ngkxU6lXkkkiA+Mmcz3a X-Google-Smtp-Source: AOwi7QAhm3QJ7OfqlpQgIQdWJtmEv46ftdYTsPHRFqpex1uoJ9ZmDjCtxL0oETKIYSQaFTNwiU99jhZG4ubb+4aUAro= X-Received: by 10.233.221.66 with SMTP id r63mr17933499qkf.79.1508226936474; Tue, 17 Oct 2017 00:55:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.87.74 with HTTP; Tue, 17 Oct 2017 00:55:36 -0700 (PDT) From: Arnon Yaari Date: Tue, 17 Oct 2017 10:55:36 +0300 Message-ID: To: dm-devel@redhat.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 17 Oct 2017 07:55:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 17 Oct 2017 07:55:37 +0000 (UTC) for IP:'209.85.220.171' DOMAIN:'mail-qk0-f171.google.com' HELO:'mail-qk0-f171.google.com' FROM:'arnony@infinidat.com' RCPT:'' X-RedHat-Spam-Score: -2.311 (DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.220.171 mail-qk0-f171.google.com 209.85.220.171 mail-qk0-f171.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: dm-devel@redhat.com Subject: [dm-devel] [PATCH v3] libmultipath: update INFINIDAT builtin config 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: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 17 Oct 2017 07:55:49 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Based on the manufacturer documentation: https://support.infinidat.com/hc/en-us/articles/202319222 INFINIDAT recommends round-robin path selector using a different path per IO. Timeout and path recovery values are adjusted for error-free hot upgrade scenarios. Signed-off-by: Arnon Yaari --- Changes in v2: - Added maintainer information - Removed default values Changes in v3: - Changed patch message libmultipath/hwtable.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- 2.11.0 -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 9e14ec1e..aa0ced53 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -964,13 +964,24 @@ static struct hwentry default_hw[] = { }, /* * Infinidat + * + * Maintainer: Arnon Yaari + * Mail: arnony@infinidat.com */ { .vendor = "NFINIDAT", .product = "InfiniBox", .pgpolicy = GROUP_BY_PRIO, - .pgfailback = -FAILBACK_IMMEDIATE, + .pgfailback = 30, .prio_name = PRIO_ALUA, + .selector = "round-robin 0", + .rr_weight = RR_WEIGHT_PRIO, + .no_path_retry = NO_PATH_RETRY_FAIL, + .minio = 1, + .minio_rq = 1, + .flush_on_last_del = FLUSH_ENABLED, + .fast_io_fail = 15, + .dev_loss = 15, }, /* * Nimble Storage