netfs_invalidate_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… netfs_invalidate_folio πŸ’…

okay bestie, welcome to the netfs_invalidate_folio(9) page in the kernel API manual. This is the one about invalidating or partially invalidating a folio β€” yes, a folio, we love her. It's giving filesystem cleanup main character energy, and we're gonna get through it together. 🫢


🌸 NAME 🌸

netfs_invalidate_folio β€” Invalidate or partially invalidate a folio. That's the whole vibe.


✨ SYNOPSIS ✨

void netfs_invalidate_folio (struct folio *folio , size_t offset ,
size_t length );

πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” the folio proposed for release. She's on the chopping block, bestie. πŸ’…
  • offset β€” the offset of the invalidated region. Like, where the invalidating starts.
  • length β€” the length of the invalidated region. How much of the folio is getting hit with the invalidate beam. ✨

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this invalidates part or all of a folio for a network filesystem. Not just any random folio situation β€” network filesystem business, okay? 🌐

And if the invalidated region covers the entire folio, the folio will be removed afterwards. The whole thing? Gone. Removed. Iconic behavior, honestly. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/netfs/misc.c is over there doing her thing, and these besties are all linked up:


xoxo, from the source/version ./fs/netfs, dated October 2026, this has been your girl netfs_invalidate_folio(9) β€” slay and stay safe, bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from