Netapp requested this default setting for NetApp E-Series NVMe in addition to 
"multibus".
Also, finalize the product ID regex after consulting with NetApp (the FW 
reporting just
"ONTAP Controller" was beta only).

This obsoletes my previous "FIX" patch
'FIX "libmultipath: hwtable: multibus for NetApp NVMe-FC'

Fixes: "libmultipath: hwtable: multibus for NetApp NVMe-FC"
Signed-off-by: Martin Wilck <mwi...@suse.com>
---
 libmultipath/hwtable.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 1cde60a6a41d..0915ea4dfa56 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -681,16 +681,17 @@ static struct hwentry default_hw[] = {
                .no_path_retry = 24,
        },
        /*
-        * NetApp NVMe-FC namespace devices: MULTIBUS preferred
+        * NetApp NVMe-FC namespace devices: MULTIBUS, queueing preferred
         *
         * The table is searched backwards, so place this after generic NVMe
         */
        {
                .vendor        = "NVME",
-               .product       = "(NetApp |)ONTAP Controller)",
+               .product       = "^NetApp ONTAP Controller",
                .uid_attribute = "ID_WWN",
                .checker_name  = NONE,
                .pgpolicy      = MULTIBUS,
+               .no_path_retry = NO_PATH_RETRY_QUEUE,
                .retain_hwhandler = RETAIN_HWHANDLER_OFF,
        },
        /*
-- 
2.15.1

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to