Re: [dm-devel] [PATCH v3 08/10] dm: Add support for copy offload.

2022-02-27 Thread Nitesh Shetty
On Tue, Feb 22, 2022 at 11:00:31AM -0500, Mike Snitzer wrote: > On Mon, Feb 14 2022 at 2:59P -0500, > 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

Re: [dm-devel] [PATCH v3 08/10] dm: Add support for copy offload.

2022-02-22 Thread Mike Snitzer
On Mon, Feb 14 2022 at 2:59P -0500, 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. > >

[dm-devel] [PATCH v3 08/10] dm: Add support for copy offload.

2022-02-14 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 | 45