[PATCH v2 00/23] fs-verity support for XFS

Christoph Hellwig hch at infradead.org
Tue Apr 11 15:19:46 AEST 2023


Dave is going to hate me for this, but..

I've been looking over some of the interfaces here, and I'm starting
to very seriously questioning the design decisions of storing the
fsverity hashes in xattrs.

Yes, storing them beyond i_size in the file is a bit of a hack, but
it allows to reuse a lot of the existing infrastructure, and much
of fsverity is based around it.  So storing them in an xattrs causes
a lot of churn in the interface.  And the XFS side with special
casing xattr indices also seems not exactly nice.


More information about the Linux-erofs mailing list