ceaf51092f
- Add 0045-multipath-tools-update-mpp-force_readonly-in-ev_add_.patch * Fixes bz #2084356 - Add 0046-multipath-return-failure-on-an-invalid-remove-comman.patch * Fixes bz #2084358 - Add 0047-libmultipath-steal-the-src-string-pointer-in-merge_s.patch - Add 0048-libmultipath-enable-linear-ordering-of-bus-proto-tup.patch - Add 0049-libmultipath-use-bus_protocol_id-in-snprint_path_pro.patch - Add 0050-libmultipath-make-protocol_name-global.patch - Add 0051-libmultipath-add-a-protocol-subsection-to-multipath..patch - Add 0052-libmultipath-Set-the-scsi-timeout-parameters-by-path.patch - Add 0053-libmultipath-check-the-overrides-pctable-for-path-va.patch - Add 0054-libmultipath-fix-eh_deadline-documentation.patch - Add 0055-libmultipath-Add-documentation-for-the-protocol-subs.patch - Add 0056-libmultipath-use-symbolic-value-for-invalid-pcentry.patch * The above 10 patches implement the feature from bz #2084365 - Add 0057-updated-HPE-MSA-builtin-config.patch * Fixes bz #2084357 Resolves: bz #2084365, #2084357, #2084358, #2084365
55 lines
2.0 KiB
Diff
55 lines
2.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Wed, 13 Apr 2022 23:27:41 -0500
|
|
Subject: [PATCH] libmultipath: Add documentation for the protocol subsection
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Reviewed-by: Martin Wilck <mwilck@suse.com>
|
|
---
|
|
multipath/multipath.conf.5 | 32 ++++++++++++++++++++++++++++++++
|
|
1 file changed, 32 insertions(+)
|
|
|
|
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
|
|
index 47404545..f7de5140 100644
|
|
--- a/multipath/multipath.conf.5
|
|
+++ b/multipath/multipath.conf.5
|
|
@@ -1765,6 +1765,38 @@ the values are taken from the \fIdevices\fR or \fIdefaults\fR sections:
|
|
.RE
|
|
.PD
|
|
.LP
|
|
+The overrides section also recognizes the optional \fIprotocol\fR subsection,
|
|
+and can contain multiple protocol subsections. Path devices are matched against
|
|
+the protocol subsection using the mandatory \fItype\fR attribute. Attributes
|
|
+in a matching protocol subsection take precedence over attributes in the rest
|
|
+of the overrides section. If there are multiple matching protocol subsections,
|
|
+later entries take precedence.
|
|
+.TP
|
|
+.B protocol subsection
|
|
+The protocol subsection recognizes the following mandatory attribute:
|
|
+.RS
|
|
+.TP
|
|
+.B type
|
|
+The protocol string of the path device. The possible values are \fIscsi:fcp\fR,
|
|
+\fIscsi:spi\fR, \fIscsi:ssa\fR, \fIscsi:sbp\fR, \fIscsi:srp\fR,
|
|
+\fIscsi:iscsi\fR, \fIscsi:sas\fR, \fIscsi:adt\fR, \fIscsi:ata\fR,
|
|
+\fIscsi:unspec\fR, \fIccw\fR, \fIcciss\fR, \fInvme\fR, and \fIundef\fR. This is
|
|
+\fBnot\fR a regular expression. the path device protcol string must match
|
|
+exactly. The protocol that a path is using can be viewed by running
|
|
+\fBmultipathd show paths format "%d %P"\fR
|
|
+.LP
|
|
+The following attributes are optional; if not set, the default values are taken
|
|
+from the \fIoverrides\fR, \fIdevices\fR, or \fIdefaults\fR section:
|
|
+.sp 1
|
|
+.PD .1v
|
|
+.RS
|
|
+.TP
|
|
+.B fast_io_fail_tmo
|
|
+.TP
|
|
+.B dev_loss_tmo
|
|
+.TP
|
|
+.B eh_deadline
|
|
+.PD
|
|
.
|
|
.
|
|
.\" ----------------------------------------------------------------------------
|