Re: [dm-devel] [PATCH v2 02/10] block: Introduce queue limits for copy-offload support

2022-02-09 Thread Nitesh Shetty
On Tue, Feb 08, 2022 at 04:01:23PM +0900, Damien Le Moal wrote: > On 2/7/22 23:13, Nitesh Shetty wrote: > > Add device limits as sysfs entries, > > - copy_offload (READ_WRITE) > > - max_copy_sectors (READ_ONLY) > > Why read-only ? With the name as you have it, it seems to be the

[dm-devel] [PATCH v2 02/10] block: Introduce queue limits for copy-offload support

2022-02-08 Thread Nitesh Shetty
Add device limits as sysfs entries, - copy_offload (READ_WRITE) - max_copy_sectors (READ_ONLY) - max_copy_ranges_sectors (READ_ONLY) - max_copy_nr_ranges (READ_ONLY) copy_offload(= 0), is disabled by default. This needs to be enabled if copy-offload needs to be