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

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