svn commit: r343983 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Mariusz Zaborski oshogbo at
Sun Feb 10 22:32:10 UTC 2019

Author: oshogbo
Date: Sun Feb 10 22:32:09 2019
New Revision: 343983

  MFC r343470:
    zfs: allow to change cache flush sysctl
    There is no reason for this variable to be tunable.
    This variable is used as a barrier in few places.
    Discussed with:       pjd
    MFC after:    2 weeks
    Sponsored by: Fudo Security

Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c	Sun Feb 10 22:31:41 2019	(r343982)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c	Sun Feb 10 22:32:09 2019	(r343983)
@@ -103,7 +103,7 @@ SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_replay_disable, CTL
  * out-of-order write cache is enabled.
 boolean_t zfs_nocacheflush = B_FALSE;
-SYSCTL_INT(_vfs_zfs, OID_AUTO, cache_flush_disable, CTLFLAG_RDTUN,
+SYSCTL_INT(_vfs_zfs, OID_AUTO, cache_flush_disable, CTLFLAG_RWTUN,
     &zfs_nocacheflush, 0, "Disable cache flush");
 boolean_t zfs_trim_enabled = B_TRUE;

More information about the svn-src-all mailing list