(2) [PATCH 2/2] nvme-pci: fix metadata mapping length

Martin K. Petersen martin.petersen at oracle.com
Wed Apr 12 18:37:04 PDT 2023


Jinyoung,

> I think the problem is bio_integrity_add_page().  If it is modified,
> sg functions for blk-integrity should also be modified.

The bio integrity scatterlist handling predates NVMe and wasn't written
with the single segment use case in mind. For SCSI we required the
hardware to support an integrity segment per data segment.

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list