Re: [dm-devel] [PATCH v15 09/12] dm: Add support for copy offload

2023-09-11 Thread Hannes Reinecke
On 9/11/23 09:07, Nitesh Shetty wrote: On Fri, Sep 08, 2023 at 08:13:37AM +0200, Hannes Reinecke wrote: On 9/6/23 18:38, Nitesh Shetty wrote: Before enabling copy for dm target, check if underlying devices and dm target support copy. Avoid split happening inside dm target. Fail early if the req

Re: [dm-devel] [PATCH v15 09/12] dm: Add support for copy offload

2023-09-11 Thread Nitesh Shetty
On Fri, Sep 08, 2023 at 08:13:37AM +0200, Hannes Reinecke wrote: > On 9/6/23 18:38, Nitesh Shetty wrote: > > Before enabling copy for dm target, check if underlying devices and > > dm target support copy. Avoid split happening inside dm target. > > Fail early if the request needs split, currently s

Re: [dm-devel] [PATCH v15 09/12] dm: Add support for copy offload

2023-09-07 Thread Hannes Reinecke
On 9/6/23 18:38, Nitesh Shetty wrote: Before enabling copy for dm target, check if underlying devices and dm target support copy. Avoid split happening inside dm target. Fail early if the request needs split, currently splitting copy request is not supported. And here is where I would have expe

[dm-devel] [PATCH v15 09/12] dm: Add support for copy offload

2023-09-06 Thread Nitesh Shetty
Before enabling copy for dm target, check if underlying devices and dm target support copy. Avoid split happening inside dm target. Fail early if the request needs split, currently splitting copy request is not supported. Signed-off-by: Nitesh Shetty --- drivers/md/dm-table.c | 37 ++