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