diff options
| author | Keith Busch <kbusch@kernel.org> | 2025-08-13 08:31:50 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-08-25 07:44:39 -0600 |
| commit | fec9b16dc5550191fd85af118271ea00e8dcc5f8 (patch) | |
| tree | c4ecee09d05f3502a7b4c2c01c1aaf6321b049b4 /rust/helpers/helpers.c | |
| parent | e2be2ba6d27d5c74f3bd458b64d1ad34a8a75bd8 (diff) | |
blk-mq-dma: add scatter-less integrity data DMA mapping
Similar to regular data, introduce more efficient integrity mapping
helpers that does away with the scatterlist structure. This uses the
block mapping iterator to add IOVA segments if IOMMU is enabled, or maps
directly if not. This also supports P2P segements if integrity data ever
wants to allocate that type of memory.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250813153153.3260897-7-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
