try_break_deleg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to try_break_deleg(9) from the Kernel API Manual β€” this is your lil' non-blocking delegation-break era ✨

πŸ’– NAME πŸ’–

try_break_deleg β€” do a non-blocking delegation break

πŸ¦‹ SYNOPSIS πŸ¦‹

int try_break_deleg (struct inode *inode , unsigned int flags , struct delegated_inode *di );

🌸 ARGUMENTS 🌸

  • inode β€” the inode that should have its delegations broken, bestie.
  • flags β€” extra LEASE_BREAK_* flags to pass to break_deleg. iconic.
  • di β€” returns a pointer to the delegated inode (may be NULL). no pressure.

✨ DESCRIPTION ✨

okay so the whole plot here is breaking delegations in a non-blocking fashion πŸ’…

If there are outstanding delegations and di is set, then an extra reference will be taken on inode and di->di_inode will be populated so that it may be waited upon. yep, that's the tea πŸ«–

Returns 0 if there is no need to wait or an error. If -EWOULDBLOCK is returned, then di will be populated (if non-NULL). literally the whole status update, no cap ✨

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./include/linux/filelock.h β€” go read it, iykyk πŸ’œ

mwah πŸ’‹ β€” this page is from source/version ./include/linux, dated October 2026, and the main character is try_break_deleg(9). periodt 🌈

πŸ“¦ where this page comes from