Blame SOURCES/0103-libmultipath-Add-documentation-for-the-protocol-subs.patch

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