nfs_wb_folio_reclaim(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs_wb_folio_reclaim β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you've got a folio, and you need all its requests written back. That's this function. It's giving "cleanup era" and honestly? iconic. πŸ¦‹


✨ NAME ✨

nfs_wb_folio_reclaim β€” write back all the requests on one page. every single one. no stragglers. periodt. πŸ’…


🌸 SYNOPSIS 🌸

int nfs_wb_folio_reclaim (struct inode *inode , struct folio *folio );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” pointer to page ✨ (yes, that's what it says, and I'm not gonna lie to you about it β€” it's a pointer to page, bestie)
  • folio β€” pointer to folio 🫢

πŸ’– DESCRIPTION πŸ’–

So the whole vibe here is that this function assumes the folio has been locked by the caller. Like, it's not gonna check for you. It's not gonna lock it for you. It's just gonna trust that you already did that, because that's the kind of main character energy it's operating with. πŸ‘‘

not me relying on you to hold the lock… lock it yourself before you call this, fr fr πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/nfs/write.c β€” and also these absolute legends:


and that's the whole page, bestie πŸ’œ β€” brought to you by the lovely folks over in ./fs/nfs, this October 2026 edition, and yes the header still says nfs_wb_folio_reclaim(9) and honestly? slay. πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from