[PATCHv3 02/10] block: provide helper for nr_integrity_segments

Christoph Hellwig hch at lst.de
Tue Sep 10 08:30:46 PDT 2024


On Wed, Sep 04, 2024 at 08:25:57AM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> This way drivers that want this value don't need to concern themselves
> with the CONFIG_BLK_DEV_INTEGRITY setting.

Looks ok:

Reviewed-by: Christoph Hellwig <hch at lst.de>

Although I wonder if we should simply define the field unconditionally
given that it is only 2 bytes wide and packs nicely.




More information about the Linux-nvme mailing list