nlmsvc_proc_cancel(9)
π 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 β¨
- Kernel file
./fs/lockd/svcproc.c nlmsvc_proc_null(9)nlmsvc_proc_test(9)nlmsvc_proc_lock(9)nlmsvc_proc_unlock(9)nlmsvc_proc_granted(9)nlmsvc_proc_test_msg(9)nlmsvc_proc_lock_msg(9)nlmsvc_proc_cancel_msg(9)nlmsvc_proc_unlock_msg(9)nlmsvc_proc_granted_msg(9)nlmsvc_proc_granted_res(9)nlmsvc_proc_sm_notify(9)nlmsvc_proc_unused(9)nlmsvc_proc_share(9)nlmsvc_proc_unshare(9)nlmsvc_proc_nm_lock(9)nlmsvc_proc_free_all(9)
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
- 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