Re: [RFC PATCH v4 2/3] block: add simple copy support

2021-01-05 Thread Damien Le Moal
On 2021/01/05 21:24, Selva Jove wrote: > Thanks for the review, Damien. > > On Mon, Jan 4, 2021 at 6:17 PM Damien Le Moal wrote: >> >> On 2021/01/04 19:48, SelvaKumar S wrote: >>> Add new BLKCOPY ioctl that offloads copying of one or more sources >>> ranges to a destination in the device.

Re: [dm-devel] [RFC PATCH v4 2/3] block: add simple copy support

2021-01-05 Thread Selva Jove
Hi Darrick, On Tue, Jan 5, 2021 at 12:33 AM Darrick J. Wong wrote: > > SelvaKumar S: This didn't show up on dm-devel, sorry for the OT reply... > > On Mon, Jan 04, 2021 at 12:47:11PM +, Damien Le Moal wrote: > > On 2021/01/04 19:48, SelvaKumar S wrote: > > > Add new BLKCOPY ioctl that

Re: [RFC PATCH v4 2/3] block: add simple copy support

2021-01-05 Thread Selva Jove
Thanks for the review, Damien. On Mon, Jan 4, 2021 at 6:17 PM Damien Le Moal wrote: > > On 2021/01/04 19:48, SelvaKumar S wrote: > > Add new BLKCOPY ioctl that offloads copying of one or more sources > > ranges to a destination in the device. Accepts copy_ranges that contains > > destination, no

Re: [dm-devel] [RFC PATCH v4 2/3] block: add simple copy support

2021-01-04 Thread Darrick J. Wong
SelvaKumar S: This didn't show up on dm-devel, sorry for the OT reply... On Mon, Jan 04, 2021 at 12:47:11PM +, Damien Le Moal wrote: > On 2021/01/04 19:48, SelvaKumar S wrote: > > Add new BLKCOPY ioctl that offloads copying of one or more sources > > ranges to a destination in the device.

Re: [RFC PATCH v4 2/3] block: add simple copy support

2021-01-04 Thread Damien Le Moal
On 2021/01/04 19:48, SelvaKumar S wrote: > Add new BLKCOPY ioctl that offloads copying of one or more sources > ranges to a destination in the device. Accepts copy_ranges that contains > destination, no of sources and pointer to the array of source > ranges. Each range_entry contains start and

[RFC PATCH v4 2/3] block: add simple copy support

2021-01-04 Thread SelvaKumar S
Add new BLKCOPY ioctl that offloads copying of one or more sources ranges to a destination in the device. Accepts copy_ranges that contains destination, no of sources and pointer to the array of source ranges. Each range_entry contains start and length of source ranges (in bytes). Introduce