On Thu, Jun 06, 2024 at 04:10:17PM +0200, Christoph Hellwig wrote: > > We do explicitly set the app_tag to 0 for PI so it's only non-PI > > metadata that's affected. > > Ah, true. I could switch to then just zeroing the buffer in > ->generate_fn for non-PI metadata only. That's actually the > first version I prototyped. So that would cause a fair amout of conflicts with moving the integrity information to the limits. So unless someone objets I'd like to go with this simple version, and with that series we can then easily relax the zeroing check to only cover the non-PI case.