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 a91d47c1e822753fe9d07b469c16ec55f39929cb)
This commit is contained in:
parent
be4f1f38f6
commit
983f781b4c
@ -0,0 +1,34 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
#needsrootforbuild
|
#needsrootforbuild
|
||||||
Name: multipath-tools
|
Name: multipath-tools
|
||||||
Version: 0.8.7
|
Version: 0.8.7
|
||||||
Release: 13
|
Release: 14
|
||||||
Summary: Tools to manage multipath devices with the device-mapper
|
Summary: Tools to manage multipath devices with the device-mapper
|
||||||
License: GPL-2.0-or-later and LGPL-2.0-only
|
License: GPL-2.0-or-later and LGPL-2.0-only
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
@ -39,6 +39,7 @@ Patch27: 0027-libmultipath-io_err_stat-call-io_destroy-inside-free.patch
|
|||||||
Patch28: 0028-multipathd.socket-add-missing-conditions-from-servic.patch
|
Patch28: 0028-multipathd.socket-add-missing-conditions-from-servic.patch
|
||||||
Patch29: 0029-libmultipath-sysfs_set_scsi_tmo-do-nothing-for-ACT_D.patch
|
Patch29: 0029-libmultipath-sysfs_set_scsi_tmo-do-nothing-for-ACT_D.patch
|
||||||
Patch30: 0030-multipath.conf.5-fix-documentation-for-find_multipat.patch
|
Patch30: 0030-multipath.conf.5-fix-documentation-for-find_multipat.patch
|
||||||
|
Patch31: 0031-multipath.conf.5-fix-the-description-of-prio_args-fo.patch
|
||||||
|
|
||||||
BuildRequires: multipath-tools, libcmocka, libcmocka-devel
|
BuildRequires: multipath-tools, libcmocka, libcmocka-devel
|
||||||
BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89
|
BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89
|
||||||
@ -186,6 +187,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 2 2024 kouwenqi <kouwenqi@kylinos.cn> - 0.8.7-14
|
||||||
|
- multipath.conf.5: fix the description of prio_args for path_latency prio
|
||||||
|
|
||||||
* Fri Jul 5 2024 kouwenqi <kouwenqi@kylinos.cn> - 0.8.7-13
|
* Fri Jul 5 2024 kouwenqi <kouwenqi@kylinos.cn> - 0.8.7-13
|
||||||
- multipath.conf.5: fix documentation for find_multipaths
|
- multipath.conf.5: fix documentation for find_multipaths
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user