• Paul Eggert's avatar
    Use copy_file_range to copy files · 486a81f3
    Paul Eggert authored
    The copy_file_range syscall (introduced in Linux kernel
    version 4.5) can copy files more efficiently via server-side
    copy etc.
    * admin/merge-gnulib (GNULIB_MODULES): Add copy-file-range.
    * lib/copy-file-range.c, m4/copy-file-range.m4:
    New files, copied from Gnulib.
    * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    * src/fileio.c (Fcopy_file): Try copy_file_range first,
    falling back on read+write only if copy_file_range failed or
    if the input is empty and so could be a /proc file.
    486a81f3
Name
Last commit
Last update
..
00gnulib.m4 Loading commit data...
__inline.m4 Loading commit data...
absolute-header.m4 Loading commit data...
acl.m4 Loading commit data...
alloca.m4 Loading commit data...
builtin-expect.m4 Loading commit data...
byteswap.m4 Loading commit data...
clock_time.m4 Loading commit data...
close-stream.m4 Loading commit data...
copy-file-range.m4 Loading commit data...
count-leading-zeros.m4 Loading commit data...
count-one-bits.m4 Loading commit data...
count-trailing-zeros.m4 Loading commit data...
d-type.m4 Loading commit data...
dirent_h.m4 Loading commit data...
dirfd.m4 Loading commit data...
dup2.m4 Loading commit data...
eealloc.m4 Loading commit data...
environ.m4 Loading commit data...
errno_h.m4 Loading commit data...
euidaccess.m4 Loading commit data...
execinfo.m4 Loading commit data...
explicit_bzero.m4 Loading commit data...
extensions.m4 Loading commit data...
extern-inline.m4 Loading commit data...
faccessat.m4 Loading commit data...
fcntl.m4 Loading commit data...
fcntl_h.m4 Loading commit data...
fdopendir.m4 Loading commit data...
filemode.m4 Loading commit data...
flexmember.m4 Loading commit data...
fpending.m4 Loading commit data...
fpieee.m4 Loading commit data...
fstatat.m4 Loading commit data...
fsusage.m4 Loading commit data...
fsync.m4 Loading commit data...
getdtablesize.m4 Loading commit data...
getgroups.m4 Loading commit data...
getloadavg.m4 Loading commit data...
getopt.m4 Loading commit data...
gettime.m4 Loading commit data...
gettimeofday.m4 Loading commit data...
glibc21.m4 Loading commit data...
gnulib-common.m4 Loading commit data...
gnulib-comp.m4 Loading commit data...
group-member.m4 Loading commit data...
ieee754-h.m4 Loading commit data...
include_next.m4 Loading commit data...
inttypes.m4 Loading commit data...
largefile.m4 Loading commit data...
limits-h.m4 Loading commit data...
localtime-buffer.m4 Loading commit data...
longlong.m4 Loading commit data...
lstat.m4 Loading commit data...
manywarnings.m4 Loading commit data...
mbstate_t.m4 Loading commit data...
md5.m4 Loading commit data...
memmem.m4 Loading commit data...
memrchr.m4 Loading commit data...
minmax.m4 Loading commit data...
mkostemp.m4 Loading commit data...
mktime.m4 Loading commit data...
mode_t.m4 Loading commit data...
multiarch.m4 Loading commit data...
nocrash.m4 Loading commit data...
nstrftime.m4 Loading commit data...
off_t.m4 Loading commit data...
open-cloexec.m4 Loading commit data...
open.m4 Loading commit data...
pipe2.m4 Loading commit data...
pkg.m4 Loading commit data...
pselect.m4 Loading commit data...
pthread_sigmask.m4 Loading commit data...
putenv.m4 Loading commit data...
readlink.m4 Loading commit data...
readlinkat.m4 Loading commit data...
regex.m4 Loading commit data...
sha1.m4 Loading commit data...
sha256.m4 Loading commit data...
sha512.m4 Loading commit data...
sig2str.m4 Loading commit data...
signal_h.m4 Loading commit data...
socklen.m4 Loading commit data...
ssize_t.m4 Loading commit data...
st_dm_mode.m4 Loading commit data...
stat-time.m4 Loading commit data...
std-gnu11.m4 Loading commit data...
stdalign.m4 Loading commit data...
stddef_h.m4 Loading commit data...
stdint.m4 Loading commit data...
stdio_h.m4 Loading commit data...
stdlib_h.m4 Loading commit data...
stpcpy.m4 Loading commit data...
string_h.m4 Loading commit data...
strtoimax.m4 Loading commit data...
strtoll.m4 Loading commit data...
symlink.m4 Loading commit data...
sys_select_h.m4 Loading commit data...
sys_socket_h.m4 Loading commit data...
sys_stat_h.m4 Loading commit data...
sys_time_h.m4 Loading commit data...
sys_types_h.m4 Loading commit data...
tempname.m4 Loading commit data...
time_h.m4 Loading commit data...
time_r.m4 Loading commit data...
time_rz.m4 Loading commit data...
timegm.m4 Loading commit data...
timer_time.m4 Loading commit data...
timespec.m4 Loading commit data...
tm_gmtoff.m4 Loading commit data...
unistd_h.m4 Loading commit data...
unlocked-io.m4 Loading commit data...
utimens.m4 Loading commit data...
utimes.m4 Loading commit data...
vararrays.m4 Loading commit data...
warnings.m4 Loading commit data...
wchar_t.m4 Loading commit data...