On Tue, Jul 31, 2018 at 01:55:43PM +0200, Stef Bon wrote: > Hi, > > as I can see, this method is usefull to copy bytes from the original > location to the backup version. > I can see different cases (not limited to these): > > - copy a full file > - copy only those bytes where the original file and the backup version differ. > > Do you agree, or - beter - do have some more usecases? Yes, these are applications of the copy_file_range() syscall. On advanced filesystems the data blocks may be setup as copy-on-write. This could make cloning files, or creating snapshots very efficient. Niels _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-devel