Skip to content

Commit

Permalink
Updated zfs_dbgmsg_enable documentation to be more accurate
Browse files Browse the repository at this point in the history
Changed the default specified for zfs_dbgmsg_enable, added
clarification of interaction with zfs_flags.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes openzfs#11984
Closes openzfs#11986
  • Loading branch information
rincebrain authored and RageLtMan committed May 31, 2021
1 parent d7efd8d commit c461951
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions man/man5/zfs-module-parameters.5
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
.\" own identifying information:
.\" Portions Copyright [yyyy] [name of copyright owner]
.TH ZFS-MODULE-PARAMETERS 5 "Mar 31, 2021" OpenZFS
.TH ZFS-MODULE-PARAMETERS 5 "May 5, 2021" OpenZFS
.SH NAME
zfs\-module\-parameters \- ZFS module parameters
.SH DESCRIPTION
Expand Down Expand Up @@ -1506,11 +1506,14 @@ Default value: \fB131,072\fR.
.ad
.RS 12n
Internally ZFS keeps a small log to facilitate debugging. By default the log
is disabled, to enable it set this option to 1. The contents of the log can
is enabled, to disable it set this option to 0. The contents of the log can
be accessed by reading the /proc/spl/kstat/zfs/dbgmsg file. Writing 0 to
this proc file clears the log.
.sp
Default value: \fB0\fR.
This setting does not influence debug prints due to \fBzfs_flags\fR
settings.
.sp
Default value: \fB1\fR.
.RE

.sp
Expand Down

0 comments on commit c461951

Please sign in to comment.