nlm4svc_proc_test(9)
π NAME π
okay so bestie, this is nlm4svc_proc_test(9) from the Kernel API Manual, and the function is literally named nlm4svc_proc_test β its whole job is TEST: Check for conflicting lock β¨.
πΈ SYNOPSIS πΈ
__be32 nlm4svc_proc_test (struct svc_rqst *rqstp );
π¦ ARGUMENTS π¦
rqstpβ RPC transaction context. That's the vibe-check context, periodt.
π RETURN π
rpc_successβ RPC executed successfully. slay. πrpc_drop_replyβ Do not send an RPC reply. like, don't reply, bestie π .
π₯ DESCRIPTION π₯
RPC synopsis, exact and iconic:
nlm4_testres NLMPROC4_TEST(nlm4_testargs) = 1;
Permissible procedure status codes β memorize these, iykyk:
NLM4_GRANTEDβ The server would be able to grant the requested lock. πNLM4_DENIEDβ The requested lock conflicted with existing lock reservations for the file. πNLM4_DENIED_NOLOCKSβ The server could not allocate the resources needed to process the request. πNLM4_DENIED_GRACE_PERIODβ The server has recently restarted and is re-establishing existing locks, and is not yet ready to accept normal service requests. π§
The Linux NLM server implementation also returns, no cap:
NLM4_STALE_FHβ The request specified an invalid file handle. πNLM4_FBIGβ The request specified a length or offset that exceeds the range supported by the server. πNLM4_FAILEDβ The request failed for an unspecified reason. π
π SEE ALSO π
Kernel file ./fs/lockd/svc4proc.c, plus this whole bestie squad:
nlm4svc_proc_null(9)nlm4svc_proc_lock(9)nlm4svc_proc_cancel(9)nlm4svc_proc_unlock(9)nlm4svc_proc_granted(9)nlm4svc_proc_test_msg(9)nlm4svc_proc_lock_msg(9)nlm4svc_proc_cancel_msg(9)nlm4svc_proc_unlock_msg(9)nlm4svc_proc_granted_msg(9)nlm4svc_proc_granted_res(9)nlm4svc_proc_sm_notify(9)nlm4svc_proc_unused(9)nlm4svc_proc_share(9)nlm4svc_proc_unshare(9)nlm4svc_proc_nm_lock(9)nlm4svc_proc_free_all(9)
source/version: ./fs/lockd; date: October 2026; page: nlm4svc_proc_test(9). bye bestie, go check those locks ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms