On 7/22/25 3:13 AM, Anuj Gupta wrote: > The blk_get_meta_cap() implementation directly assigns bi->csum_type to > the UAPI field lbmd_guard_tag_type. This is not right as the kernel enum > blk_integrity_checksum values are not guaranteed to match the UAPI > defined values. > > Fix this by explicitly mapping internal checksum types to UAPI-defined > constants to ensure compatibility and correctness, especially for the > devices using CRC64 PI. > > Fixes: 9eb22f7fedfc ("fs: add ioctl to query metadata and protection info capabilities") Where is this sha? It's not in the block or upstream tree, presumably it's in the vfs tree due to it being an fs commit? In which case you should probably CC that side, as this cannot be picked up on the block side. -- Jens Axboe