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

Christoph Hellwig hch at infradead.org
Thu Apr 6 01:50:10 AEST 2023


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.



More information about the Linux-erofs mailing list