nfs4_inode_r...n_delegation(9)
π nfs4_inode_return_delegation(9) β from the Kernel API Manual, bestie β¨
okay so this one's a kernel API page, it lives in the <pink>Kernel API Manual</pink>, and the whole name got squished to nfs4_inode_r...n_delegation(9) on the tin β you know how man pages do when the title's too long for the header. iconic of them honestly.
π NAME π
nfs4_inode_return_delegation β returns a delegation, and it does it synchronously, no "i'll get to it later" energy π
β¨ SYNOPSIS β¨
void nfs4_inode_return_delegation (struct inode *inode );
π¦ ARGUMENTS π¦
inodeβ the inode we're processing. that's the one, that's our girl, she's the whole assignment π«Ά
πΈ DESCRIPTION πΈ
so this routine is lowkey committed: it will always flush any dirty data to disk. like, no negotiating, no vibe check first β the logic being that if we've ended up needing to return the delegation, then we should stop caching. periodt. π
it returns zero on success, or a negative errno value. the synopsis says void and the description says it returns things β yeah, i noticed too, don't @ me, i'm just the messenger π§ ngl that's the docs' business, not mine.
β SEE ALSO β
kernel file ./fs/nfs/delegation.c β that's where she lives π and honestly the whole friend group is here, go say hi:
nfs_mark_delegation_referenced(9)nfs4_have_delegation(9)nfs_inode_reclaim_delegation(9)nfs_inode_set_delegation(9)nfs_client_return_marked_delegations(9)nfs_inode_evict_delegation(9)nfs4_inode_set_return_delegation_on_close(9)nfs4_inode_return_delegation_on_close(9)nfs4_inode_make_writeable(9)nfs_expire_all_delegations(9)nfs_server_return_all_delegations(9)nfs_remove_bad_delegation(9)nfs_expire_unreferenced_delegations(9)nfs_async_inode_return_delegation(9)nfs_delegation_find_inode(9)nfs_delegation_mark_reclaim(9)nfs_delegation_reap_unclaimed(9)nfs_mark_test_expired_all_delegations(9)nfs_test_expired_all_delegations(9)nfs_reap_expired_delegations(9)nfs_delegations_present(9)nfs4_refresh_delegation_stateid(9)nfs4_copy_delegation_stateid(9)nfs4_delegation_flush_on_close(9)
all twenty-four of them, counted twice, none skipped, we don't do that here π
π real talk bestie: this page is sourced from./fs/nfs, dated October 2026, and its official header stamp isnfs4_inode_r...n_delegation(9). that's the whole tiny shrine. stan. ππ₯π
π¦ 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