Blame SOURCES/0001-BZ-1668693-disable-user_friendly_names-for-NetApp.patch

5c2e41
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5c2e41
From: Benjamin Marzinski <bmarzins@redhat.com>
5c2e41
Date: Thu, 24 Jan 2019 14:09:23 -0600
5c2e41
Subject: [PATCH] BZ 1668693: disable user_friendly_names for NetApp
5c2e41
5c2e41
NetApp has tools that rely on devices using WWID names. To avoid
5c2e41
breaking these, NetApp devices should continue to use WWID names, even
5c2e41
if the default config is set to enable user_friendly_names. If users
5c2e41
want to use user_friendly_names on NetApp devices, the must specifically
5c2e41
override the device config.
5c2e41
5c2e41
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
5c2e41
---
5c2e41
 libmultipath/hwtable.c | 1 +
5c2e41
 1 file changed, 1 insertion(+)
5c2e41
5c2e41
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
5c2e41
index d3a8d9b..8776411 100644
5c2e41
--- a/libmultipath/hwtable.c
5c2e41
+++ b/libmultipath/hwtable.c
5c2e41
@@ -719,6 +719,7 @@ static struct hwentry default_hw[] = {
5c2e41
 		.flush_on_last_del = FLUSH_ENABLED,
5c2e41
 		.dev_loss      = MAX_DEV_LOSS_TMO,
5c2e41
 		.prio_name     = PRIO_ONTAP,
5c2e41
+		.user_friendly_names = USER_FRIENDLY_NAMES_OFF,
5c2e41
 	},
5c2e41
 	{
5c2e41
 		/*
5c2e41
-- 
5c2e41
2.17.2
5c2e41