On Sat, 14 Feb 2026 at 13:50, Eric Biggers <[email protected]> wrote:
>
> Let me know if you'd prefer that we verified the whole folio here
> instead.
This looks good to me.
And hopefully some day that "rpages" becomes "rfolio" (and this can
all go away and it becomes fsverity_verify_folio() and simpler).
It does look like the "cluster size" thing could maybe be made to
simply be the size of one folio for those things, and then being a
single folio of size "PAGE_SIZE << i_log_cluster_size" might simplify
other code too.
Then instead of walking multiple pages, you'd always have exactly one
folio (just different sizes depending on cluster size).
But that's just from a very quick look, and I might mis-understand the
code I saw...
Linus
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel