diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-04-10 20:57:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-04-10 20:57:05 +0000 |
commit | 3a5f7c387b932d9469cd4adcfbae318e32b0fc22 (patch) | |
tree | 85758d1179e592494b4e61f4d842b022762074b7 /share | |
parent | 9a7e70a9f10aa811e2cd4cf94dcda3e4cd42903d (diff) |
Add EX_CONFLICTOK flag that allows an allocation to conflict with existing
allocations, making sure that the union of all space is allocated.
ok deraadt@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/extent.9 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/share/man/man9/extent.9 b/share/man/man9/extent.9 index 21e5e7e56b9..275f208d7f3 100644 --- a/share/man/man9/extent.9 +++ b/share/man/man9/extent.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: extent.9,v 1.12 2008/06/26 05:42:08 ray Exp $ +.\" $OpenBSD: extent.9,v 1.13 2009/04/10 20:57:04 kettenis Exp $ .\" $NetBSD: extent.9,v 1.15 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1996, 1998 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 26 2008 $ +.Dd $Mdocdate: April 10 2009 $ .Dt EXTENT 9 .Os .Sh NAME @@ -234,12 +234,18 @@ beginning at .Fa start with the size .Fa size . +If the caller specifies the +.Dv EX_CONFLICTOK +flag, the allocation will succeed even if part of the requested region +has already been allocated. The caller may specify that it is okay to wait for the indicated region to be free by setting the flag .Dv EX_WAITSPACE . -If +If neither .Dv EX_WAITSPACE -is not set, the allocation will fail if the request can not be +nor +.Dv EX_CONFLICTOK +is set, the allocation will fail if the request can not be satisfied without sleeping. .Pp .Fn extent_free |