summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-04-12 20:18:02 +0000
committerattilio <attilio@FreeBSD.org>2008-04-12 20:18:02 +0000
commit3827ab6b7e044f9b3c1ad63466fe45b2a6c0f378 (patch)
tree03608ac6d4b53e060faeeba540d85209560683b4 /share
parent7ba94cc4496c5cac5ae24fbe82fe73ef1b300506 (diff)
downloadFreeBSD-src-3827ab6b7e044f9b3c1ad63466fe45b2a6c0f378.zip
FreeBSD-src-3827ab6b7e044f9b3c1ad63466fe45b2a6c0f378.tar.gz
LK_NOWITNESS can be used now in lockmgr*() functions in order to skip
witness(4) checks on a per-instance basis.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/lock.96
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index 45302b7..99af66f 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 6, 2008
+.Dd April 12, 2008
.Dt LOCK 9
.Os
.Sh NAME
@@ -178,6 +178,10 @@ Fail if operation has slept.
.It Dv LK_NOWAIT
Do not allow the call to sleep.
This can be used to test the lock.
+.It Dv LK_NOWITNESS
+Skip the
+.Xr witness 4
+checks for this instance.
.It Dv LK_CANRECURSE
Allow recursion on an exclusive lock.
For every lock there must be a release.
OpenPOWER on IntegriCloud