diff mbox series

multipath-tools: use same format for default values in multipath.conf.5

Message ID 20210320021307.87193-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: Mike Snitzer
Headers show
Series multipath-tools: use same format for default values in multipath.conf.5 | expand

Commit Message

Xose Vazquez Perez March 20, 2021, 2:13 a.m. UTC
For max_sectors_kb, replace "device dependent" with its sysfs path.
And use <dev> as wildcard for device in paths.

Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
---
 multipath/multipath.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Martin Wilck March 22, 2021, 8:09 a.m. UTC | #1
On Sat, 2021-03-20 at 03:13 +0100, Xose Vazquez Perez wrote:
> For max_sectors_kb, replace "device dependent" with its sysfs path.
> And use <dev> as wildcard for device in paths.
> 
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Benjamin Marzinski <bmarzins@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>

Reviewed-by: Martin Wilck <mwilck@suse.com>




--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
diff mbox series

Patch

diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index 2aa0f526..064e4826 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -647,7 +647,7 @@  does not respond to the checker command after \fIchecker_timeout\fR
 seconds have elapsed, it is considered down.
 .RS
 .TP
-The default is: in \fB/sys/block/sd<x>/device/timeout\fR
+The default is: in \fB/sys/block/<dev>/device/timeout\fR
 .RE
 .
 .
@@ -1242,7 +1242,7 @@  Sets the max_sectors_kb device parameter on all path devices and the multipath
 device to the specified value.
 .RS
 .TP
-The default is: \fB<device dependent>\fR
+The default is: in \fB/sys/block/<dev>/queue/max_sectors_kb\fR
 .RE
 .
 .