Make vfs.zfs.max_recordsize read-write at runtime.

MFC after:	2 weeks
This commit is contained in:
Xin LI 2014-11-18 22:35:19 +00:00
parent c1dffb2f08
commit 8c3d6a4ab2

View File

@ -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.");