Skip to contentSkip to conversation

mpathpersist.8: add missing documentation for -K, -C, -l

PATCH In review Martin Wilck 3 participants 3 messages May 22, 2017 – Jun 21, 2017 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpathpersist.8: add missing documentation for -K, -C, -l

Furthermore, add a reference to the sg_persist man page.

---
 mpathpersist/mpathpersist.8 | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
mpathpersist/mpathpersist.8 +20 -1
index 4b15666f..a8982e65 100644
@@ -34,6 +34,12 @@ attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the
 \fBmultipathd\fR daemon will not check for persistent reservation for newly
 discovered paths or reinstated paths.
 .
+.LP
+\fBmpathpersist\fR supports the same command-line options as the
+\fBsg_persist\fR utility.
+.
+Consult the \fBsg_persist (8)\fR manual page for an in-depth discussion of the
+various options.
 .
 .\" ----------------------------------------------------------------------------
 .SH OPTIONS
@@ -89,6 +95,10 @@ PR Out parameter 'APTPL'.
 PR In: Read Keys.
 .
 .TP
+.BI \--param-rk=\fIRK\fB|\-K " RK"
+PR Out parameter reservation key (RK is in hex, up to 8 bytes).
+.
+.TP
 .BI \--param-sark=\fISARK\fB|\-S " SARK"
 PR Out parameter service action reservation key (SARK is in hex).
 .
@@ -97,6 +107,10 @@ PR Out parameter service action reservation key (SARK is in hex).
 PR Out: Preempt.
 .
 .TP
+.B \--clear|\-C
+PR Out: Clear registrations.
+.
+.TP
 .B \--preempt-abort|\-A
 PR Out: Preempt and Abort.
 .
@@ -140,6 +154,10 @@ PR Out: Reserve.
 .BI \--transport-id=\fITIDS\fB|\-X " TIDS"
 TransportIDs can be mentioned in several forms.
 .
+.TP
+.BI \--alloc-length=\fILEN\fB|\-l " LEN"
+PR In: maximum allocation length. LEN is a decimal number between 0 and 8192.
+.
 .
 .\" ----------------------------------------------------------------------------
 .SH EXAMPLE
@@ -164,7 +182,8 @@ Read the reservation status of the /dev/mapper/mpath9 device:
 .\" ----------------------------------------------------------------------------
 .
 .BR multipath (8),
-.BR multipathd (8).
+.BR multipathd (8),
+.BR sg_persist (8).
 .
 .
 .\" ----------------------------------------------------------------------------
Signature · 1 line
2.12.2
#1 lore raw

On Tue, May 23, 2017 at 12:16:43AM +0200, Martin Wilck wrote:

ACK

-Ben

Quoted 72 lines

Furthermore, add a reference to the sg_persist man page.

---
 mpathpersist/mpathpersist.8 | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
mpathpersist/mpathpersist.8 +20 -1
index 4b15666f..a8982e65 100644
@@ -34,6 +34,12 @@ attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the
 \fBmultipathd\fR daemon will not check for persistent reservation for newly
 discovered paths or reinstated paths.
 .
+.LP
+\fBmpathpersist\fR supports the same command-line options as the
+\fBsg_persist\fR utility.
+.
+Consult the \fBsg_persist (8)\fR manual page for an in-depth discussion of the
+various options.
 .
 .\" ----------------------------------------------------------------------------
 .SH OPTIONS
@@ -89,6 +95,10 @@ PR Out parameter 'APTPL'.
 PR In: Read Keys.
 .
 .TP
+.BI \--param-rk=\fIRK\fB|\-K " RK"
+PR Out parameter reservation key (RK is in hex, up to 8 bytes).
+.
+.TP
 .BI \--param-sark=\fISARK\fB|\-S " SARK"
 PR Out parameter service action reservation key (SARK is in hex).
 .
@@ -97,6 +107,10 @@ PR Out parameter service action reservation key (SARK is in hex).
 PR Out: Preempt.
 .
 .TP
+.B \--clear|\-C
+PR Out: Clear registrations.
+.
+.TP
 .B \--preempt-abort|\-A
 PR Out: Preempt and Abort.
 .
@@ -140,6 +154,10 @@ PR Out: Reserve.
 .BI \--transport-id=\fITIDS\fB|\-X " TIDS"
 TransportIDs can be mentioned in several forms.
 .
+.TP
+.BI \--alloc-length=\fILEN\fB|\-l " LEN"
+PR In: maximum allocation length. LEN is a decimal number between 0 and 8192.
+.
 .
 .\" ----------------------------------------------------------------------------
 .SH EXAMPLE
@@ -164,7 +182,8 @@ Read the reservation status of the /dev/mapper/mpath9 device:
 .\" ----------------------------------------------------------------------------
 .
 .BR multipath (8),
-.BR multipathd (8).
+.BR multipathd (8),
+.BR sg_persist (8).
 .
 .
 .\" ----------------------------------------------------------------------------
Signature · 6 lines
2.12.2

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#2 lore raw

Merged,
Thanks.

Quoted 89 lines · Benjamin Marzinski

On Tue, May 23, 2017 at 12:16:43AM +0200, Martin Wilck wrote:

ACK

-Ben

mpathpersist/mpathpersist.8 attribute must be defined in the

Quoted 10 lines

Furthermore, add a reference to the sg_persist man page.

---
 mpathpersist/mpathpersist.8 | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
mpathpersist/mpathpersist.8 +0 -0
index 4b15666f..a8982e65 100644
@@ -34,6 +34,12 @@ attribute must be defined in the

\fI/etc/multipath.conf\fR file. Otherwise the

mpathpersist/mpathpersist.8 attribute must be defined in the · line 34

Quoted 1 line
mpathpersist/mpathpersist.8 +0 -0
 \fBmultipathd\fR daemon will not check for persistent reservation for

newly

mpathpersist/mpathpersist.8 attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the

Quoted 7 lines
mpathpersist/mpathpersist.8 +5 -0
 discovered paths or reinstated paths.
 .
+.LP
+\fBmpathpersist\fR supports the same command-line options as the
+\fBsg_persist\fR utility.
+.
+Consult the \fBsg_persist (8)\fR manual page for an in-depth discussion

of the

mpathpersist/mpathpersist.8 attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the

Quoted 3 lines
mpathpersist/mpathpersist.8 +1 -0
+various options.
 .
 .\" ------------------------------------------------------------

----------------

mpathpersist/mpathpersist.8 PR Out parameter service action reservation key

Quoted 13 lines
mpathpersist/mpathpersist.8 +4 -0
 .SH OPTIONS
@@ -89,6 +95,10 @@ PR Out parameter 'APTPL'.
 PR In: Read Keys.
 .
 .TP
+.BI \--param-rk=\fIRK\fB|\-K " RK"
+PR Out parameter reservation key (RK is in hex, up to 8 bytes).
+.
+.TP
 .BI \--param-sark=\fISARK\fB|\-S " SARK"
 PR Out parameter service action reservation key (SARK is in hex).
 .
@@ -97,6 +107,10 @@ PR Out parameter service action reservation key

(SARK is in hex).

Quoted 11 lines
mpathpersist/mpathpersist.8 +4 -0
 PR Out: Preempt.
 .
 .TP
+.B \--clear|\-C
+PR Out: Clear registrations.
+.
+.TP
 .B \--preempt-abort|\-A
 PR Out: Preempt and Abort.
 .

mpathpersist/mpathpersist.8 PR Out: Reserve. · line 159

Quoted 6 lines
mpathpersist/mpathpersist.8 +3 -0
@@ -140,6 +154,10 @@ PR Out: Reserve.
 .BI \--transport-id=\fITIDS\fB|\-X " TIDS"
 TransportIDs can be mentioned in several forms.
 .
+.TP
+.BI \--alloc-length=\fILEN\fB|\-l " LEN"
+PR In: maximum allocation length. LEN is a decimal number between 0 and

8192.

mpathpersist/mpathpersist.8 attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the

Quoted 3 lines
mpathpersist/mpathpersist.8 +1 -0
+.
 .
 .\" ------------------------------------------------------------

----------------

mpathpersist/mpathpersist.8 Read the reservation status of the

Quoted 2 lines
mpathpersist/mpathpersist.8 +0 -0
 .SH EXAMPLE
@@ -164,7 +182,8 @@ Read the reservation status of the

/dev/mapper/mpath9 device:

mpathpersist/mpathpersist.8 Read the reservation status of the · line 182

Quoted 1 line
mpathpersist/mpathpersist.8 +0 -0
 .\" ------------------------------------------------------------

----------------

mpathpersist/mpathpersist.8 Read the reservation status of the /dev/mapper/mpath9 device:

Quoted 8 lines
mpathpersist/mpathpersist.8 +2 -1
 .
 .BR multipath (8),
-.BR multipathd (8).
+.BR multipathd (8),
+.BR sg_persist (8).
 .
 .
 .\" ------------------------------------------------------------

----------------

Quoted 7 lines

--
2.12.2

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel