nlm4svc_proc_test(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


source/version: ./fs/lockd; date: October 2026; page: nlm4svc_proc_test(9). bye bestie, go check those locks πŸ’œπŸ«Ά

πŸ“¦ where this page comes from