|
|
4728c8 |
From b25186a60347e2a0f2e53a10c05d9ad52a88c890 Mon Sep 17 00:00:00 2001
|
|
|
4728c8 |
From: Mike Christie <mchristi@redhat.com>
|
|
|
4728c8 |
Date: Tue, 9 Aug 2016 13:53:21 -0500
|
|
|
4728c8 |
Subject: [PATCH 05/11] multipath-tools: Add rbd to the hwtable
|
|
|
4728c8 |
|
|
|
4728c8 |
For BZ 1348372 from upstream commit:
|
|
|
4728c8 |
|
|
|
4728c8 |
commit 61fe9e521965ff70db6a65370b394d769077d54c
|
|
|
4728c8 |
Author: Mike Christie <mchristi@redhat.com>
|
|
|
4728c8 |
Date: Mon Aug 8 07:01:50 2016 -0500
|
|
|
4728c8 |
|
|
|
4728c8 |
multipath-tools: Add rbd to the hwtable
|
|
|
4728c8 |
|
|
|
4728c8 |
Add rbd to hwtable. These defaults are for the HA type of setup
|
|
|
4728c8 |
supported by the checker. We do no support features like multibus
|
|
|
4728c8 |
at the dm-multipath level yet
|
|
|
4728c8 |
|
|
|
4728c8 |
Signed-off-by: Mike Christie <mchristi@redhat.com>
|
|
|
4728c8 |
---
|
|
|
4728c8 |
libmultipath/hwtable.c | 15 +++++++++++++++
|
|
|
4728c8 |
1 file changed, 15 insertions(+)
|
|
|
4728c8 |
|
|
|
4728c8 |
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
|
|
|
4728c8 |
index 61d1033..d278c04 100644
|
|
|
4728c8 |
--- a/libmultipath/hwtable.c
|
|
|
4728c8 |
+++ b/libmultipath/hwtable.c
|
|
|
4728c8 |
@@ -1206,6 +1206,21 @@ static struct hwentry default_hw[] = {
|
|
|
4728c8 |
.pgfailback = -FAILBACK_IMMEDIATE,
|
|
|
4728c8 |
.checker_name = TUR,
|
|
|
4728c8 |
},
|
|
|
4728c8 |
+ {
|
|
|
4728c8 |
+ /*
|
|
|
4728c8 |
+ * Red Hat
|
|
|
4728c8 |
+ *
|
|
|
4728c8 |
+ * Maintainer: Mike Christie
|
|
|
4728c8 |
+ * Mail: mchristi@redhat.com
|
|
|
4728c8 |
+ */
|
|
|
4728c8 |
+ .vendor = "Ceph",
|
|
|
4728c8 |
+ .product = "RBD",
|
|
|
4728c8 |
+ .pgpolicy = FAILOVER,
|
|
|
4728c8 |
+ .no_path_retry = NO_PATH_RETRY_FAIL,
|
|
|
4728c8 |
+ .checker_name = RBD,
|
|
|
4728c8 |
+ .deferred_remove = DEFERRED_REMOVE_ON,
|
|
|
4728c8 |
+ },
|
|
|
4728c8 |
+
|
|
|
4728c8 |
/*
|
|
|
4728c8 |
* EOL
|
|
|
4728c8 |
*/
|
|
|
4728c8 |
--
|
|
|
4728c8 |
1.8.3.1
|
|
|
4728c8 |
|