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");
 
 /*
  * ==========================================================================
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to