Re: [PATCH] nvme: map uring_cmd data even if address is 0

From: Christoph Hellwig
Date: Mon Feb 24 2025 - 09:45:22 EST


On Thu, Feb 20, 2025 at 04:51:01PM -0700, Xinyu Zhang wrote:
> When using kernel registered bvec fixed buffers, the "address" is
> actually the offset into the bvec rather than userspace address.
> Therefore it can be 0.

How is that actually going to work? Who is interpreting that address?