[PATCHv2 3/7] blk-mq-dma: require unmap caller provide p2p map type
Christoph Hellwig
hch at lst.de
Mon Jul 21 00:39:27 PDT 2025
On Sun, Jul 20, 2025 at 11:40:36AM -0700, Keith Busch wrote:
> static inline bool blk_rq_dma_unmap(struct request *req, struct device *dma_dev,
> - struct dma_iova_state *state, size_t mapped_len)
> + struct dma_iova_state *state, size_t mapped_len, bool p2p)
Nit: can we names this is_p2p as that makes reading these boolean flags
a bit easier?
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list