Add a tunable for spa_slop_shift which controls how much space we

would reserve by default.  Tuning is not recommended.

MFC after:	2 weeks
This commit is contained in:
delphij 2014-11-18 18:52:38 +00:00
parent 46a768faae
commit 533328434b

View File

@ -401,6 +401,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)).");
/*
* ==========================================================================