From 52a0677ae083a079639f60e3bd9f3fcac66e5aa3 Mon Sep 17 00:00:00 2001 From: Rich Ercolani Date: Sat, 1 May 2021 03:26:06 -0400 Subject: [PATCH] Updated zfs_dbgmsg_enable documentation to be more accurate. Changed the default specified for zfs_dbgmsg_enable, added clarification of interaction with zfs_flags. Signed-off-by: Rich Ercolani Closes openzfs#11984 --- man/man5/zfs-module-parameters.5 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 26e9b5eb0538..f5ff35eb63c4 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -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 @@ -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