Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2018 15:33:21 +0000 (UTC)
From:      Alexander Motin <mav@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: r339150 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201810031533.w93FXLUZ056441@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Oct  3 15:33:20 2018
New Revision: 339150
URL: https://svnweb.freebsd.org/changeset/base/339150

Log:
  MFC r337923: Make vfs.zfs.zio.dva_throttle_enabled sysctl writable.
  
  Not sure what I thought originally, but as I see now runtime changes are
  working fine, and the code seems like even designed for this.

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

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c	Wed Oct  3 15:32:42 2018	(r339149)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c	Wed Oct  3 15:33:20 2018	(r339150)
@@ -83,8 +83,8 @@ const char *zio_type_name[ZIO_TYPES] = {
 };
 
 boolean_t zio_dva_throttle_enabled = B_TRUE;
-SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, dva_throttle_enabled, CTLFLAG_RDTUN,
-    &zio_dva_throttle_enabled, 0, "");
+SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, dva_throttle_enabled, CTLFLAG_RWTUN,
+    &zio_dva_throttle_enabled, 0, "Enable allocation throttling");
 
 /*
  * ==========================================================================



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