summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-14 12:21:06 +0000
committerpjd <pjd@FreeBSD.org>2007-04-14 12:21:06 +0000
commit5f8b118000131b3d6cf34c820c85818bfd78ac43 (patch)
treeb3013ea8836700cc028b3f741ce8ffae7a753f74 /sys/contrib
parent9a4164a0bbc4132516bf079569c87cc8319b1a52 (diff)
downloadFreeBSD-src-5f8b118000131b3d6cf34c820c85818bfd78ac43.zip
FreeBSD-src-5f8b118000131b3d6cf34c820c85818bfd78ac43.tar.gz
MFp4: Allow to tune vfs.zfs.debug from loader.conf.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
index 2937ab0..9dd0b70 100644
--- a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+++ b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
@@ -59,6 +59,7 @@ struct mtx zfs_debug_mtx;
MTX_SYSINIT(zfs_debug_mtx, &zfs_debug_mtx, "zfs_debug", MTX_DEF);
SYSCTL_NODE(_vfs, OID_AUTO, zfs, CTLFLAG_RW, 0, "ZFS file system");
int zfs_debug_level = 0;
+TUNABLE_INT("vfs.zfs.debug", &zfs_debug_level);
SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RW, &zfs_debug_level, 0,
"Debug level");
OpenPOWER on IntegriCloud