|
|
c90e5b |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
c90e5b |
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
|
c90e5b |
Date: Wed, 13 Apr 2022 23:27:41 -0500
|
|
|
c90e5b |
Subject: [PATCH] libmultipath: Add documentation for the protocol subsection
|
|
|
c90e5b |
|
|
|
c90e5b |
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
|
c90e5b |
Reviewed-by: Martin Wilck <mwilck@suse.com>
|
|
|
c90e5b |
---
|
|
|
c90e5b |
multipath/multipath.conf.5 | 32 ++++++++++++++++++++++++++++++++
|
|
|
c90e5b |
1 file changed, 32 insertions(+)
|
|
|
c90e5b |
|
|
|
c90e5b |
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
|
|
|
c90e5b |
index b14fd215..abbc89af 100644
|
|
|
c90e5b |
--- a/multipath/multipath.conf.5
|
|
|
c90e5b |
+++ b/multipath/multipath.conf.5
|
|
|
c90e5b |
@@ -1730,6 +1730,38 @@ the values are taken from the \fIdevices\fR or \fIdefaults\fR sections:
|
|
|
c90e5b |
.RE
|
|
|
c90e5b |
.PD
|
|
|
c90e5b |
.LP
|
|
|
c90e5b |
+The overrides section also recognizes the optional \fIprotocol\fR subsection,
|
|
|
c90e5b |
+and can contain multiple protocol subsections. Path devices are matched against
|
|
|
c90e5b |
+the protocol subsection using the mandatory \fItype\fR attribute. Attributes
|
|
|
c90e5b |
+in a matching protocol subsection take precedence over attributes in the rest
|
|
|
c90e5b |
+of the overrides section. If there are multiple matching protocol subsections,
|
|
|
c90e5b |
+later entries take precedence.
|
|
|
c90e5b |
+.TP
|
|
|
c90e5b |
+.B protocol subsection
|
|
|
c90e5b |
+The protocol subsection recognizes the following mandatory attribute:
|
|
|
c90e5b |
+.RS
|
|
|
c90e5b |
+.TP
|
|
|
c90e5b |
+.B type
|
|
|
c90e5b |
+The protocol string of the path device. The possible values are \fIscsi:fcp\fR,
|
|
|
c90e5b |
+\fIscsi:spi\fR, \fIscsi:ssa\fR, \fIscsi:sbp\fR, \fIscsi:srp\fR,
|
|
|
c90e5b |
+\fIscsi:iscsi\fR, \fIscsi:sas\fR, \fIscsi:adt\fR, \fIscsi:ata\fR,
|
|
|
c90e5b |
+\fIscsi:unspec\fR, \fIccw\fR, \fIcciss\fR, \fInvme\fR, and \fIundef\fR. This is
|
|
|
c90e5b |
+\fBnot\fR a regular expression. the path device protcol string must match
|
|
|
c90e5b |
+exactly. The protocol that a path is using can be viewed by running
|
|
|
c90e5b |
+\fBmultipathd show paths format "%d %P"\fR
|
|
|
c90e5b |
+.LP
|
|
|
c90e5b |
+The following attributes are optional; if not set, the default values are taken
|
|
|
c90e5b |
+from the \fIoverrides\fR, \fIdevices\fR, or \fIdefaults\fR section:
|
|
|
c90e5b |
+.sp 1
|
|
|
c90e5b |
+.PD .1v
|
|
|
c90e5b |
+.RS
|
|
|
c90e5b |
+.TP
|
|
|
c90e5b |
+.B fast_io_fail_tmo
|
|
|
c90e5b |
+.TP
|
|
|
c90e5b |
+.B dev_loss_tmo
|
|
|
c90e5b |
+.TP
|
|
|
c90e5b |
+.B eh_deadline
|
|
|
c90e5b |
+.PD
|
|
|
c90e5b |
.
|
|
|
c90e5b |
.
|
|
|
c90e5b |
.\" ----------------------------------------------------------------------------
|