svn commit: r290712 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Steven Hartland
smh at FreeBSD.org
Thu Nov 12 10:16:36 UTC 2015
Author: smh
Date: Thu Nov 12 10:16:35 2015
New Revision: 290712
URL: https://svnweb.freebsd.org/changeset/base/290712
Log:
MFC r290399:
Allow zfs_recover to be changed at runtime
Sponsored by: Multiplay
Modified:
stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Thu Nov 12 10:12:20 2015 (r290711)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Thu Nov 12 10:16:35 2015 (r290712)
@@ -259,7 +259,7 @@ SYSCTL_INT(_debug, OID_AUTO, zfs_flags,
boolean_t zfs_recover = B_FALSE;
SYSCTL_DECL(_vfs_zfs);
TUNABLE_INT("vfs.zfs.recover", &zfs_recover);
-SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RDTUN, &zfs_recover, 0,
+SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RWTUN, &zfs_recover, 0,
"Try to recover from otherwise-fatal errors.");
/*
More information about the svn-src-stable-10
mailing list