Blame SOURCES/0181-multipath-tools-Add-rbd-to-the-hwtable.patch

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