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

Christoph Hellwig
2023-04-11T05:19:58Z

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.