On Wed, 2024-04-03 at 14:42 +0200, hch@xxxxxx wrote: > In kernel use is easy, we can do that as soon as the first in-kernel > user comes along. Which one do you have in mind? > We do have dm-crypt, nvme target and target_core_iblock using bio_integrity_alloc() and bio_integrity_add_page() to setup PI buffer, but I'm not sure if there's any value this will bring, looks like bio_itegrity_alloc/add_page() are just working fine for them. Cheers Dongyang