diff options
author | smh <smh@FreeBSD.org> | 2015-11-12 10:16:35 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2015-11-12 10:16:35 +0000 |
commit | 04f48bd1f33813c00dd2cd453619378668646f01 (patch) | |
tree | 9df0ad5ce4ed09f3b1c1addc6042cd600e07e066 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | |
parent | 70e13c31cbd29d45dcd705fb54d683131825888c (diff) | |
download | FreeBSD-src-04f48bd1f33813c00dd2cd453619378668646f01.zip FreeBSD-src-04f48bd1f33813c00dd2cd453619378668646f01.tar.gz |
MFC r290399:
Allow zfs_recover to be changed at runtime
Sponsored by: Multiplay
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c index baffee0..5439be3 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c @@ -259,7 +259,7 @@ SYSCTL_INT(_debug, OID_AUTO, zfs_flags, CTLFLAG_RWTUN, &zfs_flags, 0, 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."); /* |