Re: [PATCH 11/15] fs: dedup file range to use a compare function

2019-04-01 Thread Goldwyn Rodrigues
On 10:04 28/03, Darrick J. Wong wrote: > On Tue, Mar 26, 2019 at 02:02:57PM -0500, Goldwyn Rodrigues wrote: > > From: Goldwyn Rodrigues > > > > With dax we cannot deal with readpage() etc. So, we create a > > funciton callback to perform the file data comparison and pass > > it to generic_remap_f

Re: [PATCH 11/15] fs: dedup file range to use a compare function

2019-03-28 Thread Darrick J. Wong
On Tue, Mar 26, 2019 at 02:02:57PM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > With dax we cannot deal with readpage() etc. So, we create a > funciton callback to perform the file data comparison and pass > it to generic_remap_file_range_prep() so it can use iomap-based > functi

[PATCH 11/15] fs: dedup file range to use a compare function

2019-03-26 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues With dax we cannot deal with readpage() etc. So, we create a funciton callback to perform the file data comparison and pass it to generic_remap_file_range_prep() so it can use iomap-based functions. This may not be the best way to solve this. Suggestions welcome. Signed-