nlmsvc_proc_cancel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nlmsvc_proc_cancel πŸ’…

okay bestie, welcome to the nlmsvc_proc_cancel page from the Kernel API Manual. this is the CANCEL call β€” the one that's like "hey, actually, never mind" to a blocked lock request. it's giving main character energy for the friend who changes their mind five seconds before the reservation. πŸ’–


✨ NAME ✨

nlmsvc_proc_cancel β€” CANCEL: cancel an outstanding blocked lock request. yeah, that's the whole vibe. no cap.

✨ SYNOPSIS ✨

__be32 nlmsvc_proc_cancel (struct svc_rqst *rqstp );

✨ ARGUMENTS ✨

  • rqstp β€” the RPC transaction context. think of it as the little group chat thread this request lives in. it's literally the receipts.

✨ RETURN ✨

  • rpc_success β€” RPC executed successfully. slay, it worked. ✨
  • rpc_drop_reply β€” Do not send an RPC reply. silence is the response, lowkey iconic.

✨ DESCRIPTION ✨

RPC synopsis, bestie:

nlm_res NLM_CANCEL(nlm_cancargs) = 3;

Permissible procedure status codes β€” these are the only valid answers this procedure can give back:

  • LCK_GRANTED β€” The requested lock was canceled. yes queen, the cancel actually went through. πŸ’…
  • LCK_DENIED β€” There was no lock to cancel. oof, you tried to cancel something that wasn't even there. happens to the best of us. 😭
  • LCK_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 server is in its healing era, give it a sec before you come at it with requests. 🧚
also note: the Linux NLM server implementation returns one extra code of its own, so bestie don't be surprised: - LCK_DENIED_NOLOCKS β€” A needed resource could not be allocated. the vibes were off and the resource wasn't there β€” no allocation, no cancel. πŸ’€

✨ SEE ALSO ✨


okay that's the whole page, bestie β€” every last flag and code intact, nothing skipped, periodt. this one lives over in ./fs/lockd, stamped October 2026, and it answers to the name nlmsvc_proc_cancel(9). πŸŽ€πŸ«Ά go forth and cancel responsibly. πŸ’œ

πŸ“¦ where this page comes from