Re: [PATCH 22/25] ocfs2: support partial clone range and dedupe range

2018-10-14 Thread Christoph Hellwig
> @@ -2531,14 +2531,11 @@ static loff_t ocfs2_remap_file_range(struct file > *file_in, loff_t pos_in, >struct file *file_out, loff_t pos_out, >loff_t len, unsigned int remap_flags) > { > - int ret; > - > if (!remap_

[PATCH 22/25] ocfs2: support partial clone range and dedupe range

2018-10-12 Thread Darrick J. Wong
From: Darrick J. Wong Change the ocfs2 remap code to allow for returning partial results. Signed-off-by: Darrick J. Wong --- fs/ocfs2/file.c |7 + fs/ocfs2/refcounttree.c | 73 ++- fs/ocfs2/refcounttree.h | 12 3 files ch

[PATCH 22/25] ocfs2: support partial clone range and dedupe range

2018-10-10 Thread Darrick J. Wong
From: Darrick J. Wong Change the ocfs2 remap code to allow for returning partial results. Signed-off-by: Darrick J. Wong --- fs/ocfs2/file.c |7 + fs/ocfs2/refcounttree.c | 73 ++- fs/ocfs2/refcounttree.h | 12 3 files ch