freebsd-dev/cddl
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
..
compat/opensolaris Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
contrib MFV r268455: 2014-07-09 23:14:59 +00:00
lib Remove ia64. 2014-07-07 00:27:09 +00:00
sbin MFV r267565: 2014-07-01 06:43:15 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
usr.bin MFV r267565: 2014-07-01 06:43:15 +00:00
usr.sbin MFV r267565: 2014-07-01 06:43:15 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Do not lint code beyond necessity (with apologies to Wiliam of Ockham). 2010-11-18 16:32:52 +00:00