[dm-devel] [PATCH 07/57] Add LIO-ORG/SUSE RBD backend hardware defaults
Hannes Reinecke
hare at suse.de
Wed Apr 27 11:10:08 UTC 2016
The LIO-ORG RBD backend always supports ALUA, and should be assigned
the correct values for multipathing.
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
libmultipath/hwtable.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 4549268..e57a69a 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1156,6 +1156,20 @@ static struct hwentry default_hw[] = {
.prio_args = NULL,
},
{
+ .vendor = "(LIO-ORG|SUSE)",
+ .product = "RBD",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 alua",
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 12,
+ .checker_name = TUR,
+ .minio = 100,
+ .prio_name = PRIO_ALUA,
+ .prio_args = NULL,
+ },
+ {
.vendor = "DataCore",
.product = "SANmelody",
.features = DEFAULT_FEATURES,
--
2.6.6
More information about the dm-devel
mailing list