The LIO-ORG RBD backend always supports ALUA, and should be assigned
the correct values for multipathing.

Signed-off-by: Hannes Reinecke <h...@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

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

Reply via email to