[PATCHv4 1/4] block: bio-integrity: directly map user buffers

Kanchan Joshi joshi.k at samsung.com
Wed Nov 29 07:18:41 PST 2023


On 11/29/2023 3:57 AM, Keith Busch wrote:
> If the user address can't directly be used for reason, like too many
> segments or address unalignement, fallback to a copy of the user vec
> while keeping the user address pinned for the IO duration so that it
> can safely be copied on completion in any process context.

The pinning requirement is only for read. But code keeps user-memory 
pinned for write too. Is there any reason?



More information about the Linux-nvme mailing list