Re: [PATCH v20 09/12] dm: Add support for copy offload

2024-05-22 Thread Nitesh Shetty
On 22/05/24 08:22AM, Hannes Reinecke wrote: On 5/21/24 16:08, Nitesh Shetty wrote: On 21/05/24 09:11AM, Hannes Reinecke wrote: On 5/20/24 12:20, Nitesh Shetty wrote: Before enabling copy for dm target, check if underlying devices and dm target support copy. Avoid split happening inside dm targ

Re: [PATCH v20 09/12] dm: Add support for copy offload

2024-05-21 Thread Hannes Reinecke
On 5/21/24 16:08, Nitesh Shetty wrote: On 21/05/24 09:11AM, Hannes Reinecke wrote: On 5/20/24 12:20, 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, cu

Re: [PATCH v20 09/12] dm: Add support for copy offload

2024-05-21 Thread Nitesh Shetty
On 21/05/24 09:11AM, Hannes Reinecke wrote: On 5/20/24 12:20, 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 su

Re: [PATCH v20 09/12] dm: Add support for copy offload

2024-05-21 Thread Hannes Reinecke
On 5/20/24 12:20, 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. Signed-off-by: Nitesh Shetty ---

[PATCH v20 09/12] dm: Add support for copy offload

2024-05-20 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 ++