[PATCH v7 02/10] block: copy back bounce buffer to user-space correctly in case of split

Christoph Hellwig hch at lst.de
Tue Nov 5 02:03:07 PST 2024


On Mon, Nov 04, 2024 at 07:35:53PM +0530, Anuj Gupta wrote:
> From: Christoph Hellwig <hch at lst.de>
> 
> Copy back the bounce buffer to user-space in entirety when the parent
> bio completes. The existing code uses bip_iter.bi_size for sizing the
> copy, which can be modified. So move away from that and fetch it from
> the vector passed to the block layer. While at it, switch to using
> better variable names.
> 
> Fixes: 492c5d455969f ("block: bio-integrity: directly map user buffers")
> Signed-off-by: Anuj Gupta <anuj20.g at samsung.com>
> [hch: better names for variables]
> Signed-off-by: Christoph Hellwig <hch at lst.de>

This shouldn't really have a from for me as it wasn't my patch
originally.  But if you insist to re-attribute it, my signoff should
be the first as signoffs are supposed to be a chain starting from
the original author to the submitter.




More information about the Linux-nvme mailing list