From 031e0f3cd99005418dcb5ce8bef0a9933279a646 Mon Sep 17 00:00:00 2001 From: Attilio Rao Date: Sat, 12 Apr 2008 20:18:02 +0000 Subject: [PATCH] LK_NOWITNESS can be used now in lockmgr*() functions in order to skip witness(4) checks on a per-instance basis. --- share/man/man9/lock.9 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index 45302b7282c9..99af66f5965b 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.