[PATCHv7 7/9] blk-integrity: use iterator for mapping sg

Martin K. Petersen martin.petersen at oracle.com
Wed Aug 13 09:53:46 PDT 2025


Keith,

> Modify blk_rq_map_integrity_sg to use the blk-mq mapping iterator.
> This produces more efficient code and converges the integrity mapping
> implementations to reduce future maintenance burdens.
>
> The function implementation moves from blk-integrity.c to blk-mq-dma.c
> in order to use the types and functions private to that file.

Very nice!

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list