On Mon, Nov 30, 2020 at 07:37:16PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Add a copy_file_range handler to XFS so that we can accelerate file > copies with reflink when the source and destination ranges are not > block-aligned. We'll use the generic pagecache copy to handle the > unaligned edges and attempt to reflink the middle. Isn't this something we could better handle in the VFS (or a generic helper) so that all file systems that support reflink could benefit?