[dm-devel] [PATCH v3] libmultipath: update INFINIDAT builtin config

Arnon Yaari arnony at infinidat.com
Tue Oct 17 07:55:36 UTC 2017


Based on the manufacturer documentation:
https://support.infinidat.com/hc/en-us/articles/202319222

INFINIDAT recommends round-robin path selector using
a different path per IO. Timeout and path recovery values
are adjusted for error-free hot upgrade scenarios.

Signed-off-by: Arnon Yaari <arnony at infinidat.com>
---
Changes in v2:
 - Added maintainer information
 - Removed default values
Changes in v3:
 - Changed patch message

libmultipath/hwtable.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 9e14ec1e..aa0ced53 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -964,13 +964,24 @@ static struct hwentry default_hw[] = {
    },
    /*
     * Infinidat
+    *
+    * Maintainer: Arnon Yaari
+    * Mail: arnony at infinidat.com
     */
    {
        .vendor        = "NFINIDAT",
        .product       = "InfiniBox",
        .pgpolicy      = GROUP_BY_PRIO,
-       .pgfailback    = -FAILBACK_IMMEDIATE,
+       .pgfailback    = 30,
        .prio_name     = PRIO_ALUA,
+       .selector      = "round-robin 0",
+       .rr_weight     = RR_WEIGHT_PRIO,
+       .no_path_retry = NO_PATH_RETRY_FAIL,
+       .minio         = 1,
+       .minio_rq      = 1,
+       .flush_on_last_del = FLUSH_ENABLED,
+       .fast_io_fail  = 15,
+       .dev_loss      = 15,
    },
    /*
     * Nimble Storage
--
2.11.0




More information about the dm-devel mailing list