From patchwork Sat May 14 23:01:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849940 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74D2CC433EF for ; Sat, 14 May 2022 23:02:11 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-612-5iOOSIHWPd2ExTGbLn0MaQ-1; Sat, 14 May 2022 19:02:07 -0400 X-MC-Unique: 5iOOSIHWPd2ExTGbLn0MaQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7678C801210; Sat, 14 May 2022 23:02:05 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id D54BF40D2820; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8ED87194704E; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 72CF41947040 for ; Sat, 14 May 2022 23:02:01 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3ED0540D2822; Sat, 14 May 2022 23:02:01 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast10.extmail.prod.ext.rdu2.redhat.com [10.11.55.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3A19340D2820 for ; Sat, 14 May 2022 23:02:01 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0F91D1C04B76 for ; Sat, 14 May 2022 23:02:01 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-25-A5_DD01UP_evIX3SOvTxlA-1; Sat, 14 May 2022 19:01:59 -0400 X-MC-Unique: A5_DD01UP_evIX3SOvTxlA-1 Received: by mail-wr1-f44.google.com with SMTP id i5so15900423wrc.13; Sat, 14 May 2022 16:01:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kJAc/DrKegqabgbDL6r4SdFBXYULb2nqHrbnunioEnc=; b=69D+lrXmbg8XyFp4TkrnB4rq4Bgpktu8bx+tqfO7T1/XWX2wtGqq7Si+jHzKmRXsJ6 9dzRkyw3ytZL1NPCT8Pd3+JPXRrUqGN5xmIotCTb01V7hiXZh0UV6e2KdVTotL9AupO1 moLNjNCCnvdpFPcShc7IRV7WjQ03KpYP4sN4D8J4fwwVc0vq9yxp6aiBPoNDuftuPAw7 oaeeG5Q6p0toGMcc2Q2Ys49GeLir3CYzupR4eBts9vtKrBk02v2RZTjP7mTFPDl4S8y4 GLFUjcn3nPbpe1JaILp9QjL958Lb5CxhcCcN+8fc1D2hhvwdxHPZ3mzNPDrolBCUpBnO dORw== X-Gm-Message-State: AOAM531iuwUY0G9gWQU1gG5pXW6vvHHqxaIu82ehQ6+vbvn5fkqYnuih USV7WoueeVIXit+JbZC0UA== X-Google-Smtp-Source: ABdhPJyhbRv0XzdxF4V6ngWibeDS4V7I80FBckP/EL8Qf/0mqxlfRRtFUgogq1234Z2dXJu69UsJyw== X-Received: by 2002:a05:6000:1f91:b0:20c:54e5:fbbb with SMTP id bw17-20020a0560001f9100b0020c54e5fbbbmr8874445wrb.557.1652569317832; Sat, 14 May 2022 16:01:57 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id w5-20020adfe045000000b0020c5253d8f5sm5694423wrh.65.2022.05.14.16.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:01:57 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:40 +0200 Message-Id: <20220514230148.139675-2-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Subject: [dm-devel] [PATCH 1/9] multipath-tools: fix misspellings X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- README.md | 2 +- libmultipath/checkers/rdac.c | 2 +- libmultipath/prioritizers/iet.c | 2 +- multipath/multipath.conf.5 | 2 +- tests/directio.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d67888d9..f06f8cea 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ The following variables can be passed to the `make` command line: The default is `/etc/multipath/conf.d`. * `ENABLE_LIBDMMP=0`: disable building libdmmp * `ENABLE_DMEVENTS_POLL=0`: disable support for the device-mapper event - polling API. For use with pre-5.0 kernels that don't supprt dmevent polling + polling API. For use with pre-5.0 kernels that don't support dmevent polling (but even if you don't use this option, multipath-tools will work with these kernels). * `SCSI_DH_MODULES_PRELOAD="(list)"`: specify a space-separated list of SCSI diff --git a/libmultipath/checkers/rdac.c b/libmultipath/checkers/rdac.c index d924a9f7..f7aaa30a 100644 --- a/libmultipath/checkers/rdac.c +++ b/libmultipath/checkers/rdac.c @@ -96,7 +96,7 @@ int libcheck_init (struct checker * c) goto out; } - /* get the changeble values */ + /* get the changeable values */ cmd[2] = 0xA + (CHANGEABLE_PAGE_CODE_VALUES << 6); io_hdr.dxferp = &changeable; memset(&changeable, 0, sizeof(struct control_mode_page)); diff --git a/libmultipath/prioritizers/iet.c b/libmultipath/prioritizers/iet.c index e98773cf..167a46b0 100644 --- a/libmultipath/prioritizers/iet.c +++ b/libmultipath/prioritizers/iet.c @@ -31,7 +31,7 @@ // name: find_regex // @param string: string you want to search into // @param regex: the pattern used -// @return result: string finded in string with regex, "none" if none +// @return result: string found in string with regex, "none" if none char *find_regex(char * string, char * regex) { int err; diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5 index fe838e38..d57c810b 100644 --- a/multipath/multipath.conf.5 +++ b/multipath/multipath.conf.5 @@ -1759,7 +1759,7 @@ The protocol string of the path device. The possible values are \fIscsi:fcp\fR, \fIscsi:spi\fR, \fIscsi:ssa\fR, \fIscsi:sbp\fR, \fIscsi:srp\fR, \fIscsi:iscsi\fR, \fIscsi:sas\fR, \fIscsi:adt\fR, \fIscsi:ata\fR, \fIscsi:unspec\fR, \fIccw\fR, \fIcciss\fR, \fInvme\fR, and \fIundef\fR. This is -\fBnot\fR a regular expression. the path device protcol string must match +\fBnot\fR a regular expression. the path device protocol string must match exactly. The protocol that a path is using can be viewed by running \fBmultipathd show paths format "%d %P"\fR .LP diff --git a/tests/directio.c b/tests/directio.c index 9f7d3883..20ccc47a 100644 --- a/tests/directio.c +++ b/tests/directio.c @@ -693,7 +693,7 @@ static void test_check_state_blksize(void **state) do_libcheck_reset(1); } -/* test async checkers pending and getting resovled by another checker +/* test async checkers pending and getting resolved by another checker * as well as the loops for getting multiple events */ static void test_check_state_async(void **state) { From patchwork Sat May 14 23:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849941 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 433B9C433EF for ; Sat, 14 May 2022 23:02:14 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-F0u7FeSNM2KujxcVmXJjzg-1; Sat, 14 May 2022 19:02:10 -0400 X-MC-Unique: F0u7FeSNM2KujxcVmXJjzg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 47F5D80418B; Sat, 14 May 2022 23:02:08 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 34B3240D2824; Sat, 14 May 2022 23:02:08 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E453B194704E; Sat, 14 May 2022 23:02:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C484A194F4BB for ; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9100CC27E89; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast10.extmail.prod.ext.rdu2.redhat.com [10.11.55.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CF0AC27E84 for ; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 714251C04B76 for ; Sat, 14 May 2022 23:02:02 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-371-f6QaEU4xPsC8P4zK3uqW8g-1; Sat, 14 May 2022 19:02:00 -0400 X-MC-Unique: f6QaEU4xPsC8P4zK3uqW8g-1 Received: by mail-wm1-f54.google.com with SMTP id 125-20020a1c1983000000b003941f354c62so6711471wmz.0; Sat, 14 May 2022 16:02:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=50HLvFUsOZHhEbZkYrg8AB8i5w9C3aCBM8jg/jTVO84=; b=PkSetYZ2b61dz2KgbFnfBzqk4ukKrTj9hyl9r0LXYrJmwuOpbOmrwCzO380nQmM3G6 tEBvipStZP4MZmOD/dCieYJjZXlL6e/DZvB1E8rb9Q43ja5fM1bBTlRYLZmx98dJpVgY /j4n4PpWQMHohqUKMAAEY9H77zRzluN7LdvG+/wWHGy0O6Pu8ph/tbXSs6/5qiKRJMxC 0TTUrqHQP/fyZvL49a8a9s3oXimqo9hMaQoMX9aa/9vJpM6IRnwl+OJ++Mva7qtvc7kO Tz4x9fSTsaaXyIREKmEabyjaoDRiTG0GrjWqJzQakk9YB9XTHJTZ2hb2RmEzTw5BhPwc fCMw== X-Gm-Message-State: AOAM531+I8f/nZYnKf9Mxg5PnNV5Fmehf200gZ0lt3uV/rhp286SgbWL 1kJwEw2pmvkV/s76oh0zU5WxTwcZlX/3 X-Google-Smtp-Source: ABdhPJwkhMlqxbEZ3aeBF2MaoZRsurdMMFIHu1LN7OzP5GRK+9AlHD2UN7R1ILq3geDCPGgQQc5lCg== X-Received: by 2002:a05:600c:240a:b0:394:18b:d722 with SMTP id 10-20020a05600c240a00b00394018bd722mr21392787wmp.177.1652569319063; Sat, 14 May 2022 16:01:59 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id m32-20020a05600c3b2000b003942a244ed2sm8422173wms.23.2022.05.14.16.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:01:58 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:41 +0200 Message-Id: <20220514230148.139675-3-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Subject: [dm-devel] [PATCH 2/9] multipath-tools: add HPE Alletra 9000 NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from (page 53, website sometimes is broken): https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00115289en_us or https://support.hpe.com/hpesc/public/docDisplay?docId=sd00001334en_us&page=GUID-551FCC2F-D8EA-405B-B9DC-2E66C2AE8608.html Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 0f0795c3..b6ff1107 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -119,6 +119,13 @@ static struct hwentry default_hw[] = { .dev_loss = MAX_DEV_LOSS_TMO, .vpd_vendor_id = VPD_VP_HP3PAR, }, + { + /* Alletra 9000 NVMe */ + .vendor = "NVME", + .product = "HPE Alletra", + .pgpolicy = MULTIBUS, + .no_path_retry = NO_PATH_RETRY_QUEUE, + }, { /* RA8000 / ESA12000 */ .vendor = "DEC", From patchwork Sat May 14 23:01:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849942 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 775C1C433F5 for ; Sat, 14 May 2022 23:02:15 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-319-cGg5ZIWfMpa0eARRwnoP5A-1; Sat, 14 May 2022 19:02:10 -0400 X-MC-Unique: cGg5ZIWfMpa0eARRwnoP5A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 46940101AA42; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F7BB400E887; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id D5560194704E; Sat, 14 May 2022 23:02:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C58971947040 for ; Sat, 14 May 2022 23:02:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B638440D2825; Sat, 14 May 2022 23:02:04 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B26C940D2824 for ; Sat, 14 May 2022 23:02:04 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9CFE1811E76 for ; Sat, 14 May 2022 23:02:04 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-176-GYdD--73PBGjJW5pi2RiSQ-1; Sat, 14 May 2022 19:02:01 -0400 X-MC-Unique: GYdD--73PBGjJW5pi2RiSQ-1 Received: by mail-wr1-f47.google.com with SMTP id e29so6299587wrc.11; Sat, 14 May 2022 16:02:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aSMDxpo3FpM2AjOTjkm47v2K6s0QbMOlcOQ6hKzKRRE=; b=VVRC+y6zwh5gf+mZAC9CEz4Z0RXngmCld190Qc5mdqglIxPq3JeOGztIINOIWkZmtG kz/jXJ/ADHrmh966lXHDRdF4XUgTxI5hzlD1lUoj5s99ggxQUPD4jPCrFKv3YsUP76ms R4wQd3GgiMUmZUDUQdLeQdNAlqbv/mWbnDwea6Oav+pCoNrBfjh4BNLroqrZj19mk5gb f86OTmlzWMkLWxJbcUZKkaralF2aGrH5TMleBr5zWzVrKxaw7J652e+KxWFKoMNYSVk3 EMzEz8VMbXWmE99cfLQF6gRaur+pWoW/QbOzdJy1P202M+7UHFcyA63KFPkT4Qlw8Ci+ daGw== X-Gm-Message-State: AOAM530QZnsZ5zOiwuA5W4XntuJgDc0K0m1JyZjp0GG5ZZVWcNoHLfV+ nYJM+40ybnnOjbxM1K/GEkjZQEFDysW6 X-Google-Smtp-Source: ABdhPJztmFi/w0wt3UggN96MhUTrx0AxcYYiJxCPq7m2f2sdn+RcthDcKTRxP2VtgaCrPyoQyyFbhw== X-Received: by 2002:a05:6000:70a:b0:20c:4edc:ffad with SMTP id bs10-20020a056000070a00b0020c4edcffadmr8477506wrb.469.1652569320354; Sat, 14 May 2022 16:02:00 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id i10-20020a05600c354a00b003942a244f37sm10728020wmq.16.2022.05.14.16.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:00 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:42 +0200 Message-Id: <20220514230148.139675-4-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Subject: [dm-devel] [PATCH 3/9] multipath-tools: delete redundant ONTAP NVMe comment X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index b6ff1107..814e727a 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -839,11 +839,7 @@ static struct hwentry default_hw[] = { .no_path_retry = 24, }, { - /* - * NVMe-FC namespace devices: MULTIBUS, queueing preferred - * - * The hwtable is searched backwards, so place this after "Generic NVMe" - */ + /* ONTAP NVMe */ .vendor = "NVME", .product = "^NetApp ONTAP Controller", .pgpolicy = MULTIBUS, From patchwork Sat May 14 23:01:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849946 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9898FC433F5 for ; Sat, 14 May 2022 23:02:18 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-465-vXbnaVQpPKmSHezkrFtOEQ-1; Sat, 14 May 2022 19:02:14 -0400 X-MC-Unique: vXbnaVQpPKmSHezkrFtOEQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D0E3129AB3F0; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8445440D2825; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 597041932106; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 66E5C1947040 for ; Sat, 14 May 2022 23:02:05 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 4A8694411CF; Sat, 14 May 2022 23:02:05 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 463904411CB for ; Sat, 14 May 2022 23:02:05 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2F54F801210 for ; Sat, 14 May 2022 23:02:05 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-92-nqxtQMbbNt--XMM2SlV2rQ-1; Sat, 14 May 2022 19:02:03 -0400 X-MC-Unique: nqxtQMbbNt--XMM2SlV2rQ-1 Received: by mail-wr1-f47.google.com with SMTP id d5so15950923wrb.6; Sat, 14 May 2022 16:02:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OiSMjCxa5fTZ4bjI04p+LdM1WgAKDGQOza45PbA3bwg=; b=2J/1uefZb39mCxU9DGkpJTXvJ5sZDz/XLGY4hWY5DxjdP36q8mar36xe8t/2GhV7/0 yVyfCGi9GcIWVCv+EjXnx62FERJfjpHuCHVHMiuWTDEbsxRSAUyLUGsqxQsyXlPC03fA 1f7JAmCbjRzVBqlQ2hZhO6Q1CZkIMQfBTJ9lPhbqNCkMKpwrC87U3j0oMurdROCysx5H 5Dxv2S0F+oOYIyzoSa3sHfSn2ZgF6WtDLW6ZC2fTlgmc7n1a5dSehl6l18JBchVQczlf gC9ij41pVqTKjws9CHPbjkgY6YS+WFqZqxEq7el9I9RYF3ufEOYrriJa0sWNnbSyYa4x DrqQ== X-Gm-Message-State: AOAM5316Kateof3GFn0xkOB6oFb8TSlEbtHdyjasq4CAIEuQXBvKCi2N nIHjianyyUUvzDiX1HdtMQ== X-Google-Smtp-Source: ABdhPJzPd9KH2gEVeVav93PX8uuykOInh0f9n57osXbbPpBSxw7Vxaq/Y53aMt7c1x7jPsYZZTHzMQ== X-Received: by 2002:adf:dd92:0:b0:20a:d831:222f with SMTP id x18-20020adfdd92000000b0020ad831222fmr8446817wrl.401.1652569321741; Sat, 14 May 2022 16:02:01 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id s18-20020a7bc0d2000000b003942a244eebsm6143279wmh.48.2022.05.14.16.02.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:01 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:43 +0200 Message-Id: <20220514230148.139675-5-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Subject: [dm-devel] [PATCH 4/9] multipath-tools: add NetApp E-Series NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xose Vazquez Perez , NetApp RDAC team , DM-DEVEL ML , Christophe Varoqui , Martin Wilck Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from (page 12): https://docs.netapp.com/us-en/e-series/pdfs/sidebar/NVMe_over_Fibre_Channel_setup.pdf Cc: NetApp RDAC team Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 814e727a..61a5aa16 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -845,6 +845,15 @@ static struct hwentry default_hw[] = { .pgpolicy = MULTIBUS, .no_path_retry = NO_PATH_RETRY_QUEUE, }, + { + /* E-Series NVMe */ + .vendor = "NVME", + .product = "NetApp E-Series", + .pgpolicy = GROUP_BY_PRIO, + .prio_name = PRIO_ANA, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 30, + }, /* * NEC */ From patchwork Sat May 14 23:01:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849943 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F8DAC433FE for ; Sat, 14 May 2022 23:02:16 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-122-RMwyJNqsN92MbQ_cZt-yeA-1; Sat, 14 May 2022 19:02:12 -0400 X-MC-Unique: RMwyJNqsN92MbQ_cZt-yeA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4922C80088A; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38406434820; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 12BC3194704E; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 17E78194F4BF for ; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 07DEC15063FC; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C6C0115063E7 for ; Sat, 14 May 2022 23:02:08 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AD3D5101AA52 for ; Sat, 14 May 2022 23:02:08 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-504-woXXtVwMO-ypIMnGEbpPNQ-1; Sat, 14 May 2022 19:02:04 -0400 X-MC-Unique: woXXtVwMO-ypIMnGEbpPNQ-1 Received: by mail-wr1-f47.google.com with SMTP id u3so15965891wrg.3; Sat, 14 May 2022 16:02:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G+qdfan40+GbHhDMkz2ecKLnSU3wMGKVFRP+RaEC9ig=; b=KoXifLfYdVMtgApv/OrYHKZtn8ZENjXsSpSbt/VeHs4gUmNs3uhCmAvQxoI2fZAOYP qufx5jbjcWkf6Cb3Ux7ZE5VJ2lXIW3/Iaw7bMyPCFJbJZCxhD/w1ePDn5AvCiPbhLa07 70v3mgmvnM5Nd2zEbzpcrg59ByC9F1f9CSsdj8zlbK3uUsmXJEQPXqCl7dInQbHD2ODm GV2w/bwpMvx3981KYXB5cQrvCnmgFZBmpbg2ENhurGiQiFfeXTKhWTBMg7w3HXGUs4z4 hbgnAgzFk3TP7LN/RQCE4wBKtYzHFd1qtAZ0/ScRXVDyGIWJD0IpCsvfQ4WaIEDlQh5O FStg== X-Gm-Message-State: AOAM530LwT1FNg9YgwUKSMu3YMtuSyLiTaqQH7s8k4w67ihHb+AkdqJx mt9e3wb6sWFSayeV/vAaPQ== X-Google-Smtp-Source: ABdhPJw4XB7bRlwBj9lenCooAVGMdYyW/G3txhPypeWgboHduDOUpm3XkQkOc6W2FW+LFOduhZSK5w== X-Received: by 2002:a05:6000:1acd:b0:20c:726a:3840 with SMTP id i13-20020a0560001acd00b0020c726a3840mr8611457wry.507.1652569322965; Sat, 14 May 2022 16:02:02 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id y13-20020a7bc18d000000b003942a244ee4sm1109454wmi.41.2022.05.14.16.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:02 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:44 +0200 Message-Id: <20220514230148.139675-6-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Subject: [dm-devel] [PATCH 5/9] multipath-tools: add Huawei OceanStor NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zou Ming , Xose Vazquez Perez , DM-DEVEL ML , Christophe Varoqui , Zhouweigang , Martin Wilck Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from (config removed in latest edition): https://download.huawei.com/edownload/e/download.do?actionFlag=download&nid=EDOC1100154490&partNo=6001&mid=SUPE_DOC&_t=1612885603000 Old version (page 61-62): https://drive.google.com/file/d/1c5RK4GXX7ofZBFxTtZ_IN1qHyIjw5eR1 Cc: Zhouweigang (Jack) Cc: Zou Ming Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 61a5aa16..e5adc2a3 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1106,6 +1106,14 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .no_path_retry = 15, }, + { + /* OceanStor NVMe */ + .vendor = "NVME", + .product = "Huawei-XSG1", + .pgpolicy = MULTIBUS, + .checker_name = DIRECTIO, + .no_path_retry = 12, + }, /* * Kove */ From patchwork Sat May 14 23:01:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849948 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AAC71C433F5 for ; Sat, 14 May 2022 23:02:32 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-446-PFeYMq3KMdS7Hig3r6mhKA-1; Sat, 14 May 2022 19:02:28 -0400 X-MC-Unique: PFeYMq3KMdS7Hig3r6mhKA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B4242811E75; Sat, 14 May 2022 23:02:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A0BD24411CF; Sat, 14 May 2022 23:02:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 75FC2194704E; Sat, 14 May 2022 23:02:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8A1661947040 for ; Sat, 14 May 2022 23:02:24 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 55A2D2166B4A; Sat, 14 May 2022 23:02:24 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D5582166B18 for ; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 39B2A811E78 for ; Sat, 14 May 2022 23:02:09 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-211-Wu_dfs39MpWl-SRvbMAwAQ-1; Sat, 14 May 2022 19:02:05 -0400 X-MC-Unique: Wu_dfs39MpWl-SRvbMAwAQ-1 Received: by mail-wr1-f49.google.com with SMTP id e29so6299696wrc.11; Sat, 14 May 2022 16:02:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HyJwkPInLLequ5oXZm09KsMZtHfGi+Ntfku1e3vcVQ8=; b=Q86KfnyYsxO0w/BVj8YbEfjpGmTNxYYqZyfZkV7wdmwhttTrT4orKsg9Hre1BGejoG 4wJsyzQQ36c94Ejeo2+VjwV3vvVtjJnt1E1dZRK2j2GzFcOcIskdT4NFBapcKNrW0D5G 4UpvfhJjNNToj5v6Qp7YoFaeP3tMc1HH6Dp/uczH0RUKVTzzTVTXknxoKuLITA+IvZwX uErdHlOGIpd4igXkJtjHYF5CaYpBAW6KmGNgWrI2tFZcq5vVJU1S6njXyW9GiwxBb2bP 95EK75GU2duVrFethW+BFbgPeEqKySQ5acE3QAcrb52LlTPR5vaZD/9XDRbCj9k0CvVt y2rw== X-Gm-Message-State: AOAM530KKFXAc47NCkkdV23mPUBKjYWY2JVeXLo/+9Riu8yHiA+oK1oI x7Nq75Vy8uFWhchTYOzCTqpa+kmRkSj0 X-Google-Smtp-Source: ABdhPJwghqXQ2OPvslTPp61T+dv/+8Y36nbePc6/W1Z/i2qPqRsgnJligwYfWmycjlbxJe1FPYlilA== X-Received: by 2002:a5d:6102:0:b0:20a:db89:724f with SMTP id v2-20020a5d6102000000b0020adb89724fmr8866220wrt.59.1652569324269; Sat, 14 May 2022 16:02:04 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id p2-20020adfaa02000000b0020cd0762f37sm5584708wrd.107.2022.05.14.16.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:04 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:45 +0200 Message-Id: <20220514230148.139675-7-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Subject: [dm-devel] [PATCH 6/9] multipath-tools: add IBM FlashSystem(TMS RamSan) NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from: https://www.ibm.com/docs/en/flashsystem-900/1.6.1?topic=configurations-multipathing-information-linux Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index e5adc2a3..f825f6d3 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -733,6 +733,13 @@ static struct hwentry default_hw[] = { .product = "(RamSan|FlashSystem)", .pgpolicy = MULTIBUS, }, + { + /* FlashSystem(RamSan) NVMe */ + .vendor = "NVMe", + .product = "FlashSystem", + .pgpolicy = MULTIBUS, + .no_path_retry = NO_PATH_RETRY_FAIL, + }, { /* (DDN) DCS9900, SONAS 2851-DR1 */ .vendor = "IBM", From patchwork Sat May 14 23:01:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849945 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6AA47C4332F for ; Sat, 14 May 2022 23:02:16 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-650-pqrF8VKsOcatq4JkFYExZg-1; Sat, 14 May 2022 19:02:14 -0400 X-MC-Unique: pqrF8VKsOcatq4JkFYExZg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 68FEB3C02185; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57F9540D2820; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2380E194704E; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 117261947040 for ; Sat, 14 May 2022 23:02:11 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id E84CA434820; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E477E416385 for ; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CB5F7805B25 for ; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-59-xqMJqUQmNM2CX2vn9T1A1A-1; Sat, 14 May 2022 19:02:07 -0400 X-MC-Unique: xqMJqUQmNM2CX2vn9T1A1A-1 Received: by mail-wm1-f44.google.com with SMTP id v191-20020a1cacc8000000b00397001398c0so75811wme.5; Sat, 14 May 2022 16:02:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J6GujI3m7mc23fFikWCl+4mUoiDSjQ1P8nbVDnG/7Ag=; b=cfCwuYrLa51ho6CnnSMWOlkxNhibmmzVy0xqs9zqnWuJdtxTc1RkICF+QUI0IUgXpy ErdAEnF2RLVPre5xUhoKO8obI5nilZqP9X3Nyh6n/mAmQsKlVV8fvjgLvJRIiYUYk9GF hbDOo1GNztT0lrYvGvTQtaoEUP4rL/xGjivjTPnw+XwI0CMRxxr3mZ99pq5sXO12W5/L fe5zbCF73gG/vxtr6M3uEIyeNPryTmec3QEvHAeIPcsIBecuVzZ+3I3FLDPJ9ku/2tDe /7ke2MV2cWAjF+8MSpRiqPmcYzGk1ECVoZwnjcP8d7zSsPxnja2VYdWbQW5AgXteWxNz nKYw== X-Gm-Message-State: AOAM530rYQGiulfdUEP8qBveFgubcn0WAdhGmZvmrJRfhz/o6hF+Al0h 54c8NzVFsl6gyuq86DdIeA== X-Google-Smtp-Source: ABdhPJzmksLw7t7nxvqBogZ1h/OwF7lfSzS/JliiDTP4NMO0Bm96qFyV7FkTCYpD1Lh1OSDDl1DnoQ== X-Received: by 2002:a05:600c:3b99:b0:394:70a0:12e3 with SMTP id n25-20020a05600c3b9900b0039470a012e3mr10549451wms.120.1652569325683; Sat, 14 May 2022 16:02:05 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id p15-20020a7bcdef000000b00394517e7d98sm6370786wmj.25.2022.05.14.16.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:05 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:46 +0200 Message-Id: <20220514230148.139675-8-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Subject: [dm-devel] [PATCH 7/9] multipath-tools: add IBM FlashSystem(Storwize/SVC) NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from: https://www.ibm.com/docs/en/flashsystem-7x00/8.5.x?topic=system-multipath-configuration-fc-nvme-hosts Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index f825f6d3..f99e2537 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -680,6 +680,13 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .prio_name = PRIO_ALUA, }, + { + /* FlashSystem(Storwize/SVC) NVMe */ + .vendor = "NVME", + .product = "IBM[ ]+2145", + .pgpolicy = MULTIBUS, + .no_path_retry = NO_PATH_RETRY_QUEUE, + }, { /* PAV DASD ECKD */ .vendor = "IBM", From patchwork Sat May 14 23:01:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849947 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF0EDC433EF for ; Sat, 14 May 2022 23:02:19 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-270-oU886M7AM1-PrAS4T_y8mA-1; Sat, 14 May 2022 19:02:15 -0400 X-MC-Unique: oU886M7AM1-PrAS4T_y8mA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A1825180139A; Sat, 14 May 2022 23:02:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 844A24411CA; Sat, 14 May 2022 23:02:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 41D9F194704E; Sat, 14 May 2022 23:02:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2EF45194707E for ; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 10D9315088A0; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C5BA15063FF for ; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E9A243803502 for ; Sat, 14 May 2022 23:02:11 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-651-Q1btc0bAML-q5Z8s7Yy1qg-1; Sat, 14 May 2022 19:02:08 -0400 X-MC-Unique: Q1btc0bAML-q5Z8s7Yy1qg-1 Received: by mail-wm1-f47.google.com with SMTP id v191-20020a1cacc8000000b00397001398c0so75821wme.5; Sat, 14 May 2022 16:02:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=llcNdaKlUpBQsK0jyN+buglVi4CZJSVv4jVyVOCW1gw=; b=r1c97KQibM4qhSwKXWjx5j4v7ysuIkH3HJ4IDsSOnRcXedWSg7eggb9EL31zJNxygt yYoj6Sll6putPHBo/8BWF1LGFP8YLTuz5pJclod2z+BLmUMwuaC57IfLg9a2dIQz5WrL nlEtCP3qc9ObNSx41KoGxmsqU5EMTIZcsFeG1xzRNcCcm+hWgm7h/77XC9FhErh+2VwL yM98VteAvKyt9+eRhcZGkS7qrfT/CBcWwbItdEtM7fVcD0MZM2iy1mlUsEjYhBEf/NmQ 2en0jRvIciBneKgeTM8o8ZvqIHtoOwLC379gwnvPhBBTmFgWnEmWvGx3aYIaXor4tjQe Xxtw== X-Gm-Message-State: AOAM532qSVC4C4LhEkMR3yIbhAlKeF39bRll5qti5kOoAgY9PcvRLhFw JK9OEXNZwwSRyfKtrXDzaA== X-Google-Smtp-Source: ABdhPJz2uWcxZ/sK+CWwuoay8FACxO0reMU5chKugKpAaMv4FLczkSV3HBLnIMI/lDzukox0IgRfgg== X-Received: by 2002:a7b:ce08:0:b0:394:32df:2ae6 with SMTP id m8-20020a7bce08000000b0039432df2ae6mr20508891wmc.184.1652569327052; Sat, 14 May 2022 16:02:07 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id o28-20020adfa11c000000b0020d03c14b9csm973296wro.1.2022.05.14.16.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:06 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:47 +0200 Message-Id: <20220514230148.139675-9-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Subject: [dm-devel] [PATCH 8/9] multipath-tools: add Pure FlashArray NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xose Vazquez Perez , Uday Shankar , DM-DEVEL ML , Brian Bunker , Christophe Varoqui , Martin Wilck Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: Uday Shankar Cc: Brian Bunker Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index f99e2537..bef1c8e5 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -1107,6 +1107,13 @@ static struct hwentry default_hw[] = { .fast_io_fail = 10, .max_sectors_kb = 4096, }, + { + /* FlashArray NVMe */ + .vendor = "NVME", + .product = "Pure Storage FlashArray", + .pgpolicy = MULTIBUS, + .no_path_retry = 10, + }, /* * Huawei */ From patchwork Sat May 14 23:01:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 12849944 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA3CBC43217 for ; Sat, 14 May 2022 23:02:16 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-231-yF38w6YOM5KXqwaqrGQezg-1; Sat, 14 May 2022 19:02:14 -0400 X-MC-Unique: yF38w6YOM5KXqwaqrGQezg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D1953804198; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B427F400E887; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8CD5E193210A; Sat, 14 May 2022 23:02:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E02DF1947040 for ; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CC92F15063E7; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C7B1414E2ECD for ; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B1AE9101AA4D for ; Sat, 14 May 2022 23:02:10 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-504-HNckevgYN3CLeqxr6SVO5Q-2; Sat, 14 May 2022 19:02:09 -0400 X-MC-Unique: HNckevgYN3CLeqxr6SVO5Q-2 Received: by mail-wr1-f47.google.com with SMTP id u3so15965891wrg.3; Sat, 14 May 2022 16:02:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qm/cnd66PaGoj/wU7CI7n+pLIMxXL/+cOTSv/0ANInU=; b=CtfP4S9m8zVuljenYMnfdx0zHaaoV+WnNmFkkdQnPjSHdO9yi1b1SwK1TBauVYx2yq Bv56EiXeDMbcBN1nSR72EA2z9Jf8rjPXgC6sRrbfiZ7NFjSvqJ2gej/8BHgi+IZ/aBlR dKoZg/OYP3/27tMM1J0TIF7q7Ct/BIPvWXTtucN5ZVEw7pmnl2F3ymmuztLwEJslJjCk +BU+Vk0XbHnb4Fhq4W0PxVGxIheZ5sk3gURiq8DdxkXif4kVeAhXdz0gorG1WmnFHFa4 bcUXTkQN1Bac+H7PN4EalW5NUcKXwxsd6WKzEBCzQbzuEuRmzQyStUaqaFcVWAqsm3Iq QtqQ== X-Gm-Message-State: AOAM532FKfBkxHxMf9xIMTKn7ieKLtXN3DQwCOJqY9sWrAsZnZ7p0VsC beZtNXm7pH0TcaFKNslj1zayJpezn1rp X-Google-Smtp-Source: ABdhPJzXeI9gf7llHndyYv8IUslU5rb1QZbzSsnqOvpgSgxj7KaZUmwrNl5JasA9PmlA8oC9wrhiFg== X-Received: by 2002:a05:6000:793:b0:20c:7246:aa1 with SMTP id bu19-20020a056000079300b0020c72460aa1mr8814970wrb.38.1652569328291; Sat, 14 May 2022 16:02:08 -0700 (PDT) Received: from localhost (50.red-81-44-142.dynamicip.rima-tde.net. [81.44.142.50]) by smtp.gmail.com with ESMTPSA id p10-20020a1c544a000000b003942a244ecasm6262102wmi.15.2022.05.14.16.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 16:02:08 -0700 (PDT) From: Xose Vazquez Perez To: Date: Sun, 15 May 2022 01:01:48 +0200 Message-Id: <20220514230148.139675-10-xose.vazquez@gmail.com> In-Reply-To: <20220514230148.139675-1-xose.vazquez@gmail.com> References: <20220514230148.139675-1-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Subject: [dm-devel] [PATCH 9/9] multipath-tools: add Dell EMC PowerStore NVMe to hardware table X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Varoqui , Xose Vazquez Perez , Martin Wilck , DM-DEVEL ML Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Info from (page 46): https://dl.dell.com/content/manual37523884-dell-emc-powerstore-host-configuration-guide.pdf Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index bef1c8e5..47ea5d3d 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -403,6 +403,15 @@ static struct hwentry default_hw[] = { .no_path_retry = 3, .fast_io_fail = 15, }, + { + /* PowerStore NVMe */ + .vendor = ".*", + .product = "dellemc-powerstore", + .pgpolicy = GROUP_BY_PRIO, + .prio_name = PRIO_ANA, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 3, + }, { /* PowerVault ME 4/5 families */ .vendor = "DellEMC",