diff --git a/0021-multipath.conf.5-fix-the-description-of-prio_args-fo.patch b/0021-multipath.conf.5-fix-the-description-of-prio_args-fo.patch new file mode 100644 index 0000000000000000000000000000000000000000..07f15869f84b6bacbb47d86444e40542e1b5b206 --- /dev/null +++ b/0021-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 d484c16a2335d272e492053cbfef4f3a09570c6b..dc83c3db59ea4e943dae819dae6b9e6cd8462ce5 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,7 +1,7 @@ #needsrootforbuild Name: multipath-tools Version: 0.9.5 -Release: 3 +Release: 4 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/ @@ -29,6 +29,7 @@ Patch17: 0017-libmultipath-io_err_stat-don-t-free-aio-memory-befor.patch Patch18: 0018-libmultipath-io_err_stat-call-io_destroy-inside-free.patch Patch19: 0019-libmultipath-sysfs_set_scsi_tmo-do-nothing-for-ACT_D.patch Patch20: 0020-multipath.conf.5-fix-documentation-for-find_multipat.patch +Patch21: 0021-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 @@ -182,6 +183,9 @@ fi %changelog +* Fri Jul 12 2024 kouwenqi - 0.9.5-4 +- multipath.conf.5: fix the description of prio_args for path_latency prio + * Tue Jul 2 2024 kouwenqi - 0.9.5-3 - multipath.conf.5: fix documentation for find_multipaths