FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
/*
 * Return the amount of slop space in bytes.  It is 1/32 of the pool (3.2%),
 * or at least 32MB.
 *
 * See the comment above spa_slop_shift for details.
 */
Return the amount of slop space in bytes.

See the comment above spa_slop_shift for details.
Return the amount of slop space in bytes . See the comment above spa_slop_shift for details .
uint64_t
spa_get_slop_space(spa_t *spa) {
	uint64_t space = spa_get_dspace(spa);
	return (MAX(space >> spa_slop_shift, SPA_MINDEVSIZE >> 1));
}
uint64_t spa_get_slop_space ( spa_t * spa ) { uint64_t space = spa_get_dspace ( spa ) ; return ( MAX ( space >> spa_slop_shift , SPA_MINDEVSIZE >> 1 ) ) ; }
Return the amount of slop space in bytes.
Return the amount of slop space in bytes .