Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 16:13:56 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r338425 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201809011613.w81GDunD036367@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Sep  1 16:13:56 2018
New Revision: 338425
URL: https://svnweb.freebsd.org/changeset/base/338425

Log:
  MFC r338365:
  Add a sysctl for the ZFS abd_scatter_enabled setting.

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

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c	Sat Sep  1 15:07:38 2018	(r338424)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c	Sat Sep  1 16:13:56 2018	(r338425)
@@ -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



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