On Tue, Sep 09, 2025 at 02:30:14PM +0200, Andrey Albershteyn wrote: > > Same thoughts here. It seems like we should just have a beyond-EOF or > > fsverity flag for ->read_iter / ->write_iter and consolidate all this > > code. That'll also go along nicely with the flag in the writepage_ctx > > suggested by Joanne. > > > > In addition to being bound by the isize the fiemap_read() copies > data to the iov_iter, which is not really needed for fsverity. Aka, you want an O_DIRECT read into a ITER_BVEC buffer for the data?