The NFS network lock manager

The locking protocol

There are four basic kernel-to-lock manager (KLM) requests:

KLM_LOCK
Lock the specified record.

KLM_UNLOCK
Unlock the specified record.

KLM_TEST
Test if the specified record is locked.

KLM_CANCEL
Cancel an outstanding lock request.
Despite the fact that the network lock manager adheres to the lockf and fcntl semantics, there are a few subtle points about its behavior that deserve mention. These arise directly from the nature of the network: For more information about UnixWare locking, see fcntl(2) and lockf(3C).
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999