dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: update NFINIDAT/InfiniBox config in hwtable
@ 2025-08-16 18:16 Xose Vazquez Perez
  0 siblings, 0 replies; only message in thread
From: Xose Vazquez Perez @ 2025-08-16 18:16 UTC (permalink / raw)
  Cc: Xose Vazquez Perez, Martin Wilck, Benjamin Marzinski,
	Christophe Varoqui, DM_DEVEL-ML

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@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM_DEVEL-ML <dm-devel@lists.linux.dev>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-16 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-16 18:16 [PATCH] multipath-tools: update NFINIDAT/InfiniBox config in hwtable Xose Vazquez Perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).