svn commit: r308085 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Sat Oct 29 08:55:57 UTC 2016
Author: mav
Date: Sat Oct 29 08:55:56 2016
New Revision: 308085
URL: https://svnweb.freebsd.org/changeset/base/308085
Log:
MFC r306456: Add #ifdef _KERNEL around send_holes_without_birth_time sysctl.
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c Sat Oct 29 08:55:13 2016 (r308084)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c Sat Oct 29 08:55:56 2016 (r308085)
@@ -42,9 +42,11 @@
int32_t zfs_pd_bytes_max = 50 * 1024 * 1024; /* 50MB */
boolean_t send_holes_without_birth_time = B_TRUE;
+#ifdef _KERNEL
SYSCTL_DECL(_vfs_zfs);
SYSCTL_UINT(_vfs_zfs, OID_AUTO, send_holes_without_birth_time, CTLFLAG_RWTUN,
&send_holes_without_birth_time, 0, "Send holes without birth time");
+#endif
typedef struct prefetch_data {
kmutex_t pd_mtx;
More information about the svn-src-stable-11
mailing list