Re: [PATCH v2 19/23] xfs: disable direct read path for fs-verity sealed files

Christoph Hellwig
2023-04-05T15:50:15Z

On Wed, Apr 05, 2023 at 08:09:27AM -0700, Darrick J. Wong wrote:
> Thinking about this a little more -- I suppose we shouldn't just go
> breaking directio reads from a verity file if we can help it. Is there
> a way to ask fsverity to perform its validation against some arbitrary
> memory buffer that happens to be fs-block aligned?

That would be my preference as well. But maybe Eric know a good reason
why this hasn't been done yet.