svn commit: r316854 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Andriy Gapon avg at FreeBSD.org
Fri Apr 14 15:35:08 UTC 2017


Author: avg
Date: Fri Apr 14 15:35:07 2017
New Revision: 316854
URL: https://svnweb.freebsd.org/changeset/base/316854

Log:
  rename vfs.zfs.debug_flags to vfs.zfs.debugflags
  
  While the former name is easier to read, the "_flags" suffix has a special
  meaning for loader(8) and, thus, it was impossible to set the knob via
  loader.conf(5).  The loader interpreted the setting as flags that should
  be passed to a kernel module named "vfs.zfs.debug".
  
  Discussed with:	smh
  MFC after:	2 weeks

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c	Fri Apr 14 15:31:04 2017	(r316853)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c	Fri Apr 14 15:35:07 2017	(r316854)
@@ -353,7 +353,7 @@ sysctl_vfs_zfs_debug_flags(SYSCTL_HANDLE
 	return (0);
 }
 
-SYSCTL_PROC(_vfs_zfs, OID_AUTO, debug_flags,
+SYSCTL_PROC(_vfs_zfs, OID_AUTO, debugflags,
     CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RWTUN, 0, sizeof(int),
     sysctl_vfs_zfs_debug_flags, "IU", "Debug flags for ZFS testing.");
 


More information about the svn-src-head mailing list