Updated zfs_dbgmsg_enable documentation to be more accurate

Changed the default specified for zfs_dbgmsg_enable, added
clarification of interaction with zfs_flags.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #11984
Closes #11986
This commit is contained in:
Rich Ercolani 2021-05-06 00:16:51 -04:00 committed by Brian Behlendorf
parent 08d2e39719
commit 1a0ce3d5ef
1 changed files with 6 additions and 3 deletions

View File

@ -14,7 +14,7 @@
.\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your .\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
.\" own identifying information: .\" own identifying information:
.\" Portions Copyright [yyyy] [name of copyright owner] .\" 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 .SH NAME
zfs\-module\-parameters \- ZFS module parameters zfs\-module\-parameters \- ZFS module parameters
.SH DESCRIPTION .SH DESCRIPTION
@ -1506,11 +1506,14 @@ Default value: \fB131,072\fR.
.ad .ad
.RS 12n .RS 12n
Internally ZFS keeps a small log to facilitate debugging. By default the log 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 be accessed by reading the /proc/spl/kstat/zfs/dbgmsg file. Writing 0 to
this proc file clears the log. this proc file clears the log.
.sp .sp
Default value: \fB0\fR. This setting does not influence debug prints due to \fBzfs_flags\fR
settings.
.sp
Default value: \fB1\fR.
.RE .RE
.sp .sp