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

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