fsverity_readahead(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fsverity_readahead(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the fsverity_readahead(9) page β€” it’s giving kernel API realness, and we’re gonna get through it together ✨


🌸 NAME 🌸

fsverity_readahead β€” kick off readahead on fsverity hashes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void fsverity_readahead (struct fsverity_info *vi , pgoff_t index , unsigned long nr_pages );

πŸŽ€ ARGUMENTS πŸŽ€

  • vi β€” the fsverity_info for the inode to be read, bestie πŸ’…
  • index β€” first file data page index that is being read ✨
  • nr_pages β€” number of file data pages to be read 🫢

πŸ’œ DESCRIPTION πŸ’œ

So literally what happens is: start readahead on the fsverity hashes that are needed to verify the file data in the range from index to index + nr_pages (exclusive upper bound) πŸ”₯

This is meant to be called from the file systems’ ->read_folio and ->readahead methods to ensure that the hashes are already cached on completion of the file data read if possible 🌈

it’s a β€œplease have the hashes ready if you can” vibe, no cap πŸ‘‘

⭐ SEE ALSO ⭐


with love from ./fs/verity 🧚 source/version vibes: ./fs/verity; date: October 2026; page: fsverity_readahead(9) πŸ’–

πŸ“¦ where this page comes from