On 2/18/2025 11:51 PM, Christoph Hellwig wrote:
> Many of the fields in struct bio_integrity_data

Patch title and this should say - struct bio_integrity_payload.

  are only needed for
> the default integrity buffer in the block layer, and the variable
> sized array at the end of the structure makes it very hard to embed
> into caller allocated structures.
> 
> Reduce struct bio_integrity_data to the minimal structure needed in
> common code,

Same here. Seems bio_integrity_data is not meant to be used in common code.

  and create containing structures for the payload + bvec
> allocation for submitter provided buffers, and the default integrity
> code.  Stop using mempools for the submitter buffers as they don't sit
> below the I/O stack,

Maybe it's just me, but I am yet to parse sitting below the I/O stack part.

Reply via email to