From 983f781b4c765c3d514c19e001971a61efaaab0e Mon Sep 17 00:00:00 2001 From: Kou Wenqi Date: Fri, 2 Aug 2024 09:52:30 +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. (cherry picked from commit a91d47c1e822753fe9d07b469c16ec55f39929cb) --- ...-fix-the-description-of-prio_args-fo.patch | 34 +++++++++++++++++++ multipath-tools.spec | 6 +++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 0031-multipath.conf.5-fix-the-description-of-prio_args-fo.patch diff --git a/0031-multipath.conf.5-fix-the-description-of-prio_args-fo.patch b/0031-multipath.conf.5-fix-the-description-of-prio_args-fo.patch new file mode 100644 index 0000000..07f1586 --- /dev/null +++ b/0031-multipath.conf.5-fix-the-description-of-prio_args-fo.patch @@ -0,0 +1,34 @@ +From 66e536da13199472a3d5293db561adc8677e6793 Mon Sep 17 00:00:00 2001 +From: kouwenqi +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 + diff --git a/multipath-tools.spec b/multipath-tools.spec index 60b161d..aef7029 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,7 +1,7 @@ #needsrootforbuild Name: multipath-tools Version: 0.8.7 -Release: 13 +Release: 14 Summary: Tools to manage multipath devices with the device-mapper License: GPL-2.0-or-later and LGPL-2.0-only 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 Patch29: 0029-libmultipath-sysfs_set_scsi_tmo-do-nothing-for-ACT_D.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: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89 @@ -186,6 +187,9 @@ fi %changelog +* Fri Aug 2 2024 kouwenqi - 0.8.7-14 +- multipath.conf.5: fix the description of prio_args for path_latency prio + * Fri Jul 5 2024 kouwenqi - 0.8.7-13 - multipath.conf.5: fix documentation for find_multipaths -- Gitee