Re: [PATCH v6 06/13] nvme-pci: implement dma-buf backed requests

From: Christoph Hellwig

Date: Tue Sep 22 2026 - 11:52:24 EST


On Mon, Sep 21, 2026 at 02:38:50PM +0100, Pavel Begunkov wrote:
> Enable BIO_DMABUF_MAP backed requests. On registration we map the

This is now REQ_DMABUF.

Sashiko had a few comments, which I think are correct - if we use
dma_map_sg to map the data, we need to use the sync_sg APIs to
transfer ownership. That only matters on non-coherent architectures
with MMU, but we need to get it right.

And the reset deadlock also looks plausible.