aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-11-18 22:35:19 +0000
committerXin LI <delphij@FreeBSD.org>2014-11-18 22:35:19 +0000
commit8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4 (patch)
tree8967e1091084c8a53e6c787fa261995109f7b3fb
parentc1dffb2f082f9e49e1968b3b61bf4fdedcdf1e2d (diff)
downloadsrc-8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4.tar.gz
src-8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4.zip
Make vfs.zfs.max_recordsize read-write at runtime.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=274681
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
index c0919398f9ae..f11fa65bcf3d 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
@@ -63,7 +63,7 @@ SYSCTL_DECL(_vfs_zfs);
* of this setting.
*/
int zfs_max_recordsize = 1 * 1024 * 1024;
-SYSCTL_INT(_vfs_zfs, OID_AUTO, max_recordsize, CTLFLAG_RDTUN,
+SYSCTL_INT(_vfs_zfs, OID_AUTO, max_recordsize, CTLFLAG_RWTUN,
&zfs_max_recordsize, 0,
"Maximum block size. Expect dragons when tuning this.");