Re: [PATCH v20 05/12] fs/read_write: Enable copy_file_range for block device.

2024-05-27 Thread Nitesh Shetty
On 26/05/24 09:02AM, Dave Chinner wrote: On Mon, May 20, 2024 at 03:50:18PM +0530, Nitesh Shetty wrote: From: Anuj Gupta This is a prep patch. Allow copy_file_range to work for block devices. Relaxing generic_copy_file_checks allows us to reuse the existing infra, instead of adding a new user

Re: [PATCH v20 05/12] fs/read_write: Enable copy_file_range for block device.

2024-05-25 Thread Dave Chinner
On Mon, May 20, 2024 at 03:50:18PM +0530, Nitesh Shetty wrote: > From: Anuj Gupta > > This is a prep patch. Allow copy_file_range to work for block devices. > Relaxing generic_copy_file_checks allows us to reuse the existing infra, > instead of adding a new user interface for block copy offload.

Re: [PATCH v20 05/12] fs/read_write: Enable copy_file_range for block device.

2024-05-21 Thread Hannes Reinecke
On 5/20/24 12:20, Nitesh Shetty wrote: From: Anuj Gupta This is a prep patch. Allow copy_file_range to work for block devices. Relaxing generic_copy_file_checks allows us to reuse the existing infra, instead of adding a new user interface for block copy offload. Change generic_copy_file_checks

[PATCH v20 05/12] fs/read_write: Enable copy_file_range for block device.

2024-05-20 Thread Nitesh Shetty
From: Anuj Gupta This is a prep patch. Allow copy_file_range to work for block devices. Relaxing generic_copy_file_checks allows us to reuse the existing infra, instead of adding a new user interface for block copy offload. Change generic_copy_file_checks to use ->f_mapping->host for both inode_i