From b51f7c507e8ed90ad089626fedd666a4d0f8b9fd Mon Sep 17 00:00:00 2001 From: Kou Wenqi Date: Fri, 2 Aug 2024 10:05:50 +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. --- ...-fix-the-description-of-prio_args-fo.patch | 34 +++++++++++++++++++ multipath-tools.spec | 6 +++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 0049-multipath.conf.5-fix-the-description-of-prio_args-fo.patch diff --git a/0049-multipath.conf.5-fix-the-description-of-prio_args-fo.patch b/0049-multipath.conf.5-fix-the-description-of-prio_args-fo.patch new file mode 100644 index 0000000..07f1586 --- /dev/null +++ b/0049-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 b40323f..5f72b75 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -2,7 +2,7 @@ Name: multipath-tools Version: 0.8.4 -Release: 24 +Release: 25 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/ @@ -58,6 +58,7 @@ Patch45: 0045-libmultipath-ignore-multipaths-sections-without-wwid.patch Patch46: 0046-libmultipath-check-for-null-wwid-before-strcmp.patch Patch47: 0047-libmultipath-sysfs_set_scsi_tmo-do-nothing-for-ACT_D.patch Patch48: 0048-multipath.conf.5-fix-documentation-for-find_multipat.patch +Patch49: 0049-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 @@ -205,6 +206,9 @@ fi %changelog +* Fri Aug 2 2024 kouwenqi - 0.8.4-25 +- multipath.conf.5: fix the description of prio_args for path_latency prio + * Fri Jul 5 2024 kouwenqi - 0.8.4-24 - multipath.conf.5: fix documentation for find_multipaths -- Gitee