multipath-tools/0021-multipath.conf.5-fix-the-description-of-prio_args-fo.patch
kouwenqi 7ab749ea07 multipath.conf.5: fix the description of prio_args for path_latency prio
This aligns the description of prio_args for path_latency prio and
the actual code.

(cherry picked from commit 09a30b960652d89b7ec2880e3b43dffdd1c70c3b)
2024-08-01 20:54:59 +08:00

35 lines
1.5 KiB
Diff

From 66e536da13199472a3d5293db561adc8677e6793 Mon Sep 17 00:00:00 2001
From: kouwenqi <kouwenqi@kylinos.cn>
Date: Tue, 4 Jun 2024 11:07:25 +0800
Subject: [PATCH] multipath.conf.5: fix the description of prio_args for
path_latency prio
This aligns the description of prio_args for path_latency prio and
the actual code.
---
multipath/multipath.conf.5 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index 284282c..d4fd534 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -399,11 +399,11 @@ Needs a value of the form "io_num=\fI<20>\fR base_num=\fI<10>\fR"
.TP 8
.I io_num
The number of read IOs sent to the current path continuously, used to calculate the average path latency.
-Valid Values: Integer, [2, 200].
+Valid Values: Integer, [20, 200].
.TP
.I base_num
-The base number value of logarithmic scale, used to partition different priority ranks. Valid Values: Integer,
-[2, 10]. And Max average latency value is 100s, min average latency value is 1us.
+The base number value of logarithmic scale, used to partition different priority ranks. Valid Values:
+Double-precision floating-point, [1.1, 10]. And Max average latency value is 100s, min average latency value is 1us.
For example: If base_num=10, the paths will be grouped in priority groups with path latency <=1us, (1us, 10us],
(10us, 100us], (100us, 1ms], (1ms, 10ms], (10ms, 100ms], (100ms, 1s], (1s, 10s], (10s, 100s], >100s.
.RE
--
2.43.0