Re: [PATCH 3/3] block: make bio auto-integrity deadlock safe

Martin K. Petersen
2025-10-24T01:48:17Z

Christoph,

> Fix this by limiting the I/O size so that we can allocated at least a

allocate

> 2MiB integrity buffer, i.e. 128MiB for 8 byte PI and 512 byte integrity
> internals, and create a mempool as a last resort for this maximum size,

intervals

> mirroring the scheme used for bvecs. As a nice upside none of this
> can fail now, so we remove the error handling and open code the
> trivial addition of the bip vec.

Typos aside, this looks good to me.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

--
Martin K. Petersen