On 2025-08-12 09:44:15, Christoph Hellwig wrote: > On Mon, Aug 11, 2025 at 09:00:29PM +0200, Andrey Albershteyn wrote: > > Mostly because it was already implemented. But looking for benefits, > > attr can be inode LOCAL so a bit of saved space? Also, seems like a > > better interface than to look at a magic offset > > Well, can you document the rationale somewhere? > We discussed this a bit with Darrick, and it probably makes more sense to have descriptor in data fork if fscrypt is added. As descriptor has root hash of the tree (and on small files this is just a file hash), and fscrypt expects merkle tree to be encrpyted as it's hash of plaintext data. -- - Andrey