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

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