fuse: add support for copy_file_range()
authorNiels de Vos <ndevos@redhat.com>
Tue, 21 Aug 2018 12:36:31 +0000 (14:36 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 28 Sep 2018 14:43:22 +0000 (16:43 +0200)
commit88bc7d5097a11d9bdcf08ecf85c81ba998353437
tree40bceda7dc1db073a51d8ed34675073fbf70dfd0
parent908a572b80f6e9577b45e81b3dfe2e22111286b8
fuse: add support for copy_file_range()

There are several FUSE filesystems that can implement server-side copy
or other efficient copy/duplication/clone methods. The copy_file_range()
syscall is the standard interface that users have access to while not
depending on external libraries that bypass FUSE.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c
fs/fuse/fuse_i.h
include/uapi/linux/fuse.h