Add rbd to hwtable. These defaults are for the HA type of setup
supported by the checker. We do no support features like multibus
at the dm-multipath level yet.

Changes since v1:
1. Drop settings that were defaults and follow template.
2. Drop ID_UID use.

Signed-off-by: Mike Christie <mchri...@redhat.com>
---
 libmultipath/hwtable.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 8c074f9..c307477 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -839,6 +839,21 @@ static struct hwentry default_hw[] = {
                .flush_on_last_del = FLUSH_ENABLED,
                .dev_loss      = 30,
        },
+       {
+       /*
+        * Red Hat
+        *
+        * Maintainer: Mike Christie
+        * Mail: mchri...@redhat.com
+        */
+               .vendor        = "Ceph",
+               .product       = "RBD",
+               .pgpolicy      = FAILOVER,
+               .no_path_retry = NO_PATH_RETRY_FAIL,
+               .checker_name  = RBD,
+               .deferred_remove = DEFERRED_REMOVE_ON,
+       },
+
        /*
         * Tegile Systems
         */
-- 
2.7.2

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

Reply via email to