[PATCHv4] block: always allocate integrity buffer when required

Jens Axboe axboe at kernel.dk
Mon May 12 06:14:14 PDT 2025


On Fri, 09 May 2025 08:38:02 -0700, Keith Busch wrote:
> Many nvme metadata formats can not strip or generate the metadata on the
> controller side. For these formats, a host provided integrity buffer is
> mandatory even if it isn't checked.
> 
> The block integrity read_verify and write_generate attributes prevent
> allocating the metadata buffer, but we need it when the format requires
> it, otherwise reads and writes will be rejected by the driver with IO
> errors.
> 
> [...]

Applied, thanks!

[1/1] block: always allocate integrity buffer when required
      commit: 8098514bd5ca98beca6ec725751d82d0d5b492d8

Best regards,
-- 
Jens Axboe






More information about the Linux-nvme mailing list