On Fri, Jan 31, 2025 at 04:04:53PM +0530, Kanchan Joshi wrote: > On 1/29/2025 6:16 PM, Christoph Hellwig wrote: > > Also another thing is that right now the holder of a path or fd has no > > idea what metadata it is supposed to pass. For block device special > > files find the right sysfs directory is relatively straight forward > > (but still annoying), but one a file is on a file systems that becomes > > impossible. I think we'll need an ioctl that exposes the equivalent > > of the integrity sysfs directory to make this usable by applications. > > Are you thinking this ioctl to be on a regular file? On anything that supports passing PI through io_uring. So block devices and (some) regular files.