Re: [dm-devel] [PATCH v8 1/9] block: Introduce queue limits for copy-offload support

2023-03-29 Thread Nitesh Shetty
On Wed, Mar 29, 2023 at 09:24:11PM +0900, Damien Le Moal wrote: > On 3/29/23 19:41, Nitesh Shetty wrote: > >>> +What:/sys/block//queue/copy_max_bytes > >>> +Date:November 2022 > >>> +Contact: linux-bl...@vger.kernel.org > >>> +Description: > >>> + [RW] While 'copy_ma

Re: [dm-devel] [PATCH v8 1/9] block: Introduce queue limits for copy-offload support

2023-03-29 Thread Nitesh Shetty
On Wed, Mar 29, 2023 at 05:40:09PM +0900, Damien Le Moal wrote: > On 3/27/23 17:40, Anuj Gupta wrote: > > From: Nitesh Shetty > > > > Add device limits as sysfs entries, > > - copy_offload (RW) > > - copy_max_bytes (RW) > > - copy_max_bytes_hw (RO) > > > > Above limits he

[dm-devel] [PATCH v8 1/9] block: Introduce queue limits for copy-offload support

2023-03-29 Thread Anuj Gupta
From: Nitesh Shetty Add device limits as sysfs entries, - copy_offload (RW) - copy_max_bytes (RW) - copy_max_bytes_hw (RO) Above limits help to split the copy payload in block layer. copy_offload: used for setting copy offload(1) or emulation(0). copy_max_bytes: maximum t

Re: [dm-devel] [PATCH v8 1/9] block: Introduce queue limits for copy-offload support

2023-03-29 Thread Damien Le Moal
On 3/29/23 19:41, Nitesh Shetty wrote: >>> +What: /sys/block//queue/copy_max_bytes >>> +Date: November 2022 >>> +Contact: linux-bl...@vger.kernel.org >>> +Description: >>> + [RW] While 'copy_max_bytes_hw' is the hardware limit for the >>> + device, 'c

Re: [dm-devel] [PATCH v8 1/9] block: Introduce queue limits for copy-offload support

2023-03-29 Thread Damien Le Moal
On 3/27/23 17:40, Anuj Gupta wrote: > From: Nitesh Shetty > > Add device limits as sysfs entries, > - copy_offload (RW) > - copy_max_bytes (RW) > - copy_max_bytes_hw (RO) > > Above limits help to split the copy payload in block layer. > copy_offload: used for setting copy