locks_in_grace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the Kernel API Manual entry for locks_in_grace(9)! ✨ locks_in_grace β€” (the original NAME line is literally the name plus a dash and then nothing else; minimal, iconic, no notes πŸ’…).


πŸ¦‹ SYNOPSIS πŸ¦‹

bool locks_in_grace (struct net *net );

πŸŽ€ ARGUMENTS πŸŽ€

  • net β€” network namespace 🫢

✨ DESCRIPTION ✨

Lock managers call this function to determine when it's OK for them to answer ordinary lock requests, and when they should accept only lock reclaims. That's the whole assignment, bestie β€” it's giving β€œshould I answer normally, or only accept reclaims?” energy πŸ‘‘.


πŸ’– SEE ALSO πŸ’–

Kernel file ./fs/nfs_common/grace.c locks_start_grace(9), locks_end_grace(9) β€” go read those too, iykyk πŸ¦‹


mwah πŸ’‹ β€” sourced from ./fs/nfs_common, dated October 2026. That's the footer vibe, bestie 🫢

πŸ“¦ where this page comes from