[PATCH] block: always allocate integrity buffer when required
Christoph Hellwig
hch at lst.de
Thu May 8 21:19:49 PDT 2025
On Thu, May 08, 2025 at 10:58:14AM -0700, Keith Busch wrote:
> Add a new blk_integrity flag to indicate if the disk format requires an
> integrity buffer. When this flag is set, provide an unchecked buffer if
> the sysfs attributes disabled verify or generation. This fixes the
> following nvme warning:
Do we even need the flag? I think we could just deduce it from
tag_size < tuple_size, which feels more robust.
Otherwise this looks good to me.
More information about the Linux-nvme
mailing list