Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2017 11:38:43 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r318786 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201705241138.v4OBchlq081396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed May 24 11:38:43 2017
New Revision: 318786
URL: https://svnweb.freebsd.org/changeset/base/318786

Log:
  MFC r316854: rename vfs.zfs.debug_flags to vfs.zfs.debugflags
  
  Since this is a stable branch vfs.zfs.debug_flags sysctl is also kept.
  The corresponing tunable could never work.

Modified:
  stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c	Wed May 24 11:38:31 2017	(r318785)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c	Wed May 24 11:38:43 2017	(r318786)
@@ -286,10 +286,14 @@ sysctl_vfs_zfs_debug_flags(SYSCTL_HANDLE
 
 	return (0);
 }
-TUNABLE_INT("vfs.zfs.debug_flags", &zfs_flags);
-SYSCTL_PROC(_vfs_zfs, OID_AUTO, debug_flags,
+TUNABLE_INT("vfs.zfs.debugflags", &zfs_flags);
+SYSCTL_PROC(_vfs_zfs, OID_AUTO, debugflags,
     CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, sizeof(int),
     sysctl_vfs_zfs_debug_flags, "IU", "Debug flags for ZFS testing.");
+SYSCTL_PROC(_vfs_zfs, OID_AUTO, debug_flags,
+    CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, sizeof(int),
+    sysctl_vfs_zfs_debug_flags, "IU",
+    "Debug flags for ZFS testing (deprecated, see vfs.zfs.debugflags).");
 
 /*
  * If destroy encounters an EIO while reading metadata (e.g. indirect



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705241138.v4OBchlq081396>