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

Mark Johnston markj at FreeBSD.org
Wed Aug 29 02:49:19 UTC 2018


Author: markj
Date: Wed Aug 29 02:49:18 2018
New Revision: 338365
URL: https://svnweb.freebsd.org/changeset/base/338365

Log:
  Add a sysctl for the ZFS abd_scatter_enabled setting.
  
  Submitted by:	Yamagi Burmeister <lists at yamagi.org> (original version)
  Approved by:	re (rgrimes)
  MFC after:	3 days

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

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c	Wed Aug 29 02:18:13 2018	(r338364)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c	Wed Aug 29 02:49:18 2018	(r338365)
@@ -153,6 +153,8 @@ size_t zfs_abd_chunk_size = 4096;
 #if defined(__FreeBSD__) && defined(_KERNEL)
 SYSCTL_DECL(_vfs_zfs);
 
+SYSCTL_INT(_vfs_zfs, OID_AUTO, abd_scatter_enabled, CTLFLAG_RWTUN,
+    &zfs_abd_scatter_enabled, 0, "Enable scattered ARC data buffers");
 SYSCTL_ULONG(_vfs_zfs, OID_AUTO, abd_chunk_size, CTLFLAG_RDTUN,
     &zfs_abd_chunk_size, 0, "The size of the chunks ABD allocates");
 #endif


More information about the svn-src-head mailing list