nvdimm/btt: always set max_integrity_segments
max_integrity_segments is just a hardware/driver limit and can be safely set even when integrity data is not supported. Set it in the initial queue_limits passed to blk_alloc_disk to simplify the driver. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240306142739.237234-3-hch@lst.deSigned-off-by: Ira Weiny <ira.weiny@intel.com>
Showing
Please register or sign in to comment