[PATCH] block: always allocate integrity buffer

Martin K. Petersen martin.petersen at oracle.com
Wed May 7 11:42:19 PDT 2025


Keith,

> The integrity buffer is mandatory for nvme formats that have metadata
> whether or not you want it generated or verified. The block integrity
> attributes read_verify and write_generate had been stopping the
> metadata buffer from being allocated and attached to the bio entirely.
> We only want to suppress the protection checks on the device and host,
> but we still need the buffer.

Looks OK to me.

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

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list