[PATCH 2/5] block: add support for copy offload
Keith Busch
kbusch at kernel.org
Fri May 23 06:48:54 PDT 2025
On Fri, May 23, 2025 at 06:37:33AM -0700, Christoph Hellwig wrote:
> On Fri, May 23, 2025 at 07:26:45AM -0600, Keith Busch wrote:
> > Darn, this part of the proposal is really the core concept of this patch
> > set that everything builds around. It's what allows submitting
> > arbitrarily large sized copy requests and letting the block layer
> > efficiently split a bio to the queue limits later.
>
> Well, you can still do that without overloading the bio_bvec by just
> making bi_io_vec in the bio itself a union.
I like that idea.
> - bio_add_copy_src not updating bi_size is unexpected and annoying :)
Ha, I currently have the submitter responsible for bi_size. Your
suggestion will make this easier to use.
More information about the Linux-nvme
mailing list