[PATCH] block: always allocate integrity buffer
Jens Axboe
axboe at kernel.dk
Wed May 7 11:37:33 PDT 2025
On 5/7/25 9:37 AM, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> 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.
Reviewed-by: Jens Axboe <axboe at kernel.dk>
--
Jens Axboe
More information about the Linux-nvme
mailing list