Re: [dm-devel] [PATCH v15 04/12] block: add emulation for copy

2023-09-11 Thread Nitesh Shetty
On 11/09/23 09:39AM, Hannes Reinecke wrote: On 9/11/23 09:09, Nitesh Shetty wrote: On Fri, Sep 08, 2023 at 08:06:38AM +0200, Hannes Reinecke wrote: On 9/6/23 18:38, Nitesh Shetty wrote: For the devices which does not support copy, copy emulation is added. It is required for in-kernel users lik

Re: [dm-devel] [PATCH v15 04/12] block: add emulation for copy

2023-09-11 Thread Hannes Reinecke
On 9/11/23 09:09, Nitesh Shetty wrote: On Fri, Sep 08, 2023 at 08:06:38AM +0200, Hannes Reinecke wrote: On 9/6/23 18:38, Nitesh Shetty wrote: For the devices which does not support copy, copy emulation is added. It is required for in-kernel users like fabrics, where file descriptor is not avail

Re: [dm-devel] [PATCH v15 04/12] block: add emulation for copy

2023-09-11 Thread Nitesh Shetty
On Fri, Sep 08, 2023 at 08:06:38AM +0200, Hannes Reinecke wrote: > On 9/6/23 18:38, Nitesh Shetty wrote: > > For the devices which does not support copy, copy emulation is added. > > It is required for in-kernel users like fabrics, where file descriptor is > > not available and hence they can't use

Re: [dm-devel] [PATCH v15 04/12] block: add emulation for copy

2023-09-07 Thread Hannes Reinecke
On 9/6/23 18:38, Nitesh Shetty wrote: For the devices which does not support copy, copy emulation is added. It is required for in-kernel users like fabrics, where file descriptor is not available and hence they can't use copy_file_range. Copy-emulation is implemented by reading from source into m

[dm-devel] [PATCH v15 04/12] block: add emulation for copy

2023-09-06 Thread Nitesh Shetty
For the devices which does not support copy, copy emulation is added. It is required for in-kernel users like fabrics, where file descriptor is not available and hence they can't use copy_file_range. Copy-emulation is implemented by reading from source into memory and writing to the corresponding d