freebsd-dev/sys/cddl/contrib/opensolaris/uts
Xin LI 1b174fa1eb MFV r268455:
Use reserved space for ZFS administrative commands.

We reserve 1/2^spa_slop_shift = 1/32 or 3.125% of pool space (or 32MB at
least) for system use.  Most ZPL operations, e.g. write(2), creat(2), will
fail with ENOSPC if we fall below this.

Certain operations, e.g. file removal and most administrative actions,
still permitted until half of the slop space is used.  This would allow
users to use these operations to free up space in the pool when pool is
close to full but half of slop space is still free.

A very restricted set of operations that frees up space or change quota
are always permitted, regardless of the amount of free space.

MFC after:	 2 weeks
2014-07-09 23:14:59 +00:00
..
common MFV r268455: 2014-07-09 23:14:59 +00:00
intel DTrace's pid provider works by inserting breakpoint instructions at probe 2014-04-14 00:22:42 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
powerpc Correct the check for errors from proc_rwmem(). 2013-12-11 04:31:40 +00:00
sparc In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00