On Thu, May 08, 2025 at 10:14:13AM -0600, Keith Busch wrote: > But since you mention it, maybe someone does want to force PRACT on the > generic read/write path? I considered it a fallback when the kernel > doesn't have CONFIG_BLK_DEV_INTEGRITY, but we could control it at > runtime through these attributes too. It would just need a new flag in > the blk_integrity profile to say if format supports controller-side > strip/generation and use that to decide if we need to attach an > unchecked integrity payload or not. The generate/verify attributes always were my way to force insert/strip behavior on both SCSI and NVMe for testing. But yeah, I never tested the PI + other metadata features where this might or might not work, and we really do need to fix the attribute for those.