[PATCH] multipath-tools: update NFINIDAT/InfiniBox config in hwtable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



New recommended values for SLES-15, RHEL-8, and Ubuntu-22, or above:
https://lh3.googleusercontent.com/pw/AP1GczMchJ6bcMIohp_g3Ik5DS6BZv_IW0iwaEXf968sJsR8fr_p3mR4ThRpmHpZE_VMnlcV8j0uuuI2kz-eoqekRCUBxyTBKS7n-4WFMsUiecq8i7nIjEuhfZFrV54DBQLDzGt6ofakAAF1L-ZcAuCWW18=w0-h0

device {
   vendor "NFINIDAT"
   product "InfiniBox"
   path_grouping_policy "group_by_prio"
   path_checker "tur"
   features 0
   hardware_handler "1 alua"
   prio "alua"
   rr_weight "priorities"
   no_path_retry "queue"
   rr_min_io 1
   rr_min_io_rq 1
   flush_on_last_del "yes"
   fast_io_fail_tmo 15
   dev_loss_tmo "infinity"
   path_selector "service-time 0"
   failback "immediate"
   detect_prio "no"
   user_friendly_names "no"
  }

Cc: Martin Wilck <mwilck@xxxxxxxx>
Cc: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
Cc: DM_DEVEL-ML <dm-devel@xxxxxxxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 libmultipath/hwtable.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 20fb67a3..aedf4b88 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1134,14 +1134,13 @@ static struct hwentry default_hw[] = {
 		.vendor        = "NFINIDAT",
 		.product       = "InfiniBox",
 		.pgpolicy      = GROUP_BY_PRIO,
-		.pgfailback    = 30,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.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,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.flush_on_last_del = FLUSH_ALWAYS,
 		.fast_io_fail  = 15,
+		.dev_loss      = MAX_DEV_LOSS_TMO,
+		.detect_prio   = DETECT_PRIO_OFF,
 	},
 	/*
 	 * Kaminario
-- 
2.50.1





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux