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

2020-12-08 Thread Damien Le Moal
On 2020/12/09 13:20, Martin K. Petersen wrote: > > SelvaKumar, > >> Add new BLKCOPY ioctl that offloads copying of multiple sources >> to a destination to the device. > > Your patches are limited in scope to what is currently possible with > NVMe. I.e. multiple source ranges to a single destinat

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

2020-12-08 Thread Martin K. Petersen
SelvaKumar, > Add new BLKCOPY ioctl that offloads copying of multiple sources > to a destination to the device. Your patches are limited in scope to what is currently possible with NVMe. I.e. multiple source ranges to a single destination within the same device. That's fine, I think the garbage

[dm-devel] [RFC PATCH v2 1/2] block: add simple copy support

2020-12-07 Thread SelvaKumar S
Add new BLKCOPY ioctl that offloads copying of multiple sources to a destination to the device. Accept 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 REQ_OP_COPY, a no