Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-22 Thread Nitesh Shetty
On Wed, Aug 18, 2021 at 5:06 AM Darrick J. Wong wrote: > > On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > > From: Nitesh Shetty > > > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > > to a destination in the device. COPY ioctl accepts a 'copy_range'

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-18 Thread Darrick J. Wong
On Wed, Aug 18, 2021 at 09:07:54PM +0530, Nitesh Shetty wrote: > On Wed, Aug 18, 2021 at 5:06 AM Darrick J. Wong wrote: > > > > On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > > > From: Nitesh Shetty > > > > > > Add new BLKCOPY ioctl that offloads copying of one or more sources ra

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-18 Thread Nitesh Shetty
On Tue, Aug 17, 2021 at 6:40 PM Greg KH wrote: > > On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > > From: Nitesh Shetty > > > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > > to a destination in the device. COPY ioctl accepts a 'copy_range' > > stru

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-17 Thread Darrick J. Wong
On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > From: Nitesh Shetty > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > to a destination in the device. COPY ioctl accepts a 'copy_range' > structure that contains destination (in sectors), no of sources a

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-17 Thread Greg KH
On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > From: Nitesh Shetty > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > to a destination in the device. COPY ioctl accepts a 'copy_range' > structure that contains destination (in sectors), no of sources a

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-17 Thread Greg KH
On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > From: Nitesh Shetty > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > to a destination in the device. COPY ioctl accepts a 'copy_range' > structure that contains destination (in sectors), no of sources a

[dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-17 Thread SelvaKumar S
From: Nitesh Shetty Add new BLKCOPY ioctl that offloads copying of one or more sources ranges to a destination in the device. COPY ioctl accepts a 'copy_range' structure that contains destination (in sectors), no of sources and pointer to the array of source ranges. Each source range is represent