On 03/06/18 14:59, Pádraig Brady wrote: > On 31/05/18 13:42, Goldwyn Rodrigues wrote: >> This is a patch set to use copy_file_range() system call to copy >> file from source to destination. The advantage is lower system time >> because it avoids copy to and from userspace. >> >> In my tests, I am getting lower system times consumed while performing >> with the copy_file_range. > > When copy_file_range() was being proposed I asked for flags > to control how sparse, unallocated, CoW regions were handled. > I still see no flags defined in the latest man pages at least, > so I don't think it's generally usable as is.
Some more info on the stability of copy_file_range(). It may take a while to be usable by default: https://lwn.net/Articles/774114/ Copying files is hard :/
