svn commit: r275490 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Xin LI
delphij at FreeBSD.org
Thu Dec 4 23:26:16 UTC 2014
Author: delphij
Date: Thu Dec 4 23:26:15 2014
New Revision: 275490
URL: https://svnweb.freebsd.org/changeset/base/275490
Log:
MFC r274674:
Add a tunable for spa_slop_shift which controls how much space we
would reserve by default. Tuning is not recommended.
Relnotes: yes
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 Dec 4 23:21:42 2014 (r275489)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Thu Dec 4 23:26:15 2014 (r275490)
@@ -384,6 +384,9 @@ zfs_deadman_init()
* See also the comments in zfs_space_check_t.
*/
int spa_slop_shift = 5;
+SYSCTL_INT(_vfs_zfs, OID_AUTO, spa_slop_shift, CTLFLAG_RWTUN,
+ &spa_slop_shift, 0,
+ "Shift value of reserved space (1/(2^spa_slop_shift)).");
/*
* ==========================================================================
More information about the svn-src-stable-10
mailing list