[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH] IBM hwtable update



Hi Christophe,

attached is a patch to update hwtable.c with some IBM Storage Servers.
Especially the DS6000 should be handled properly as it again has
asymmetric paths.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare suse de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de
Subject: Hardware entries for IBM Storage Servers

Several IBM Storage Servers (most notably the DS range) need
specific hardware entries. This patch adds hardware entries
for:

- IBM ESS F20 (aka Shark)
- IBM DS6000
- IBM DS8000
- IBM SVC

Signed-off-by: Hannes Reinecke <hare suse de>

---

 libmultipath/hwtable.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -39,6 +39,20 @@ setup_default_hwtable (vector hw)
 		   "1 queue_if_no_path", "emc_clariion", -FAILBACK_IMMEDIATE);
 	r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL, DEFAULT_GETUID,
 		   NULL, "0", "0", "tur", FAILBACK_UNDEF);
+	/* IBM ESS F20 aka Shark */
+	r += store_hwe_ext(hw, "IBM", "2105F20", GROUP_BY_SERIAL,
+		   DEFAULT_GETUID, NULL, "0", "1 queue_if_no_path",
+		   "tur", FAILBACK_UNDEF);
+       /* IBM DS6000 */
+	r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO, DEFAULT_GETUID,
+		   "/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
+		   "tur", FAILBACK_UNDEF);
+	/* IBM DS8000 */
+	r += store_hwe_ext(hw, "IBM", "2107900", GROUP_BY_SERIAL, DEFAULT_GETUID,
+		   NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
+	/* IBM SAN Volume Controller */
+	r += store_hwe_ext(hw, "IBM", "2145", MULTIBUS, DEFAULT_GETUID,
+		   NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF);
 	r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO, DEFAULT_GETUID,
 		  "/sbin/mpath_prio_netapp /dev/%n", NULL,
 		  "1 queue_if_no_path", "readsector0", FAILBACK_UNDEF);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]