diff options
author | Luis Henriques <lhenriques@suse.com> | 2018-10-15 16:45:59 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-10-22 10:28:24 +0200 |
commit | 503f82a9932d311c12430779627f7a130bbe462a (patch) | |
tree | c8040ee6fa052eeec74ca8a95f4c357b43584be8 /fs/ceph/super.c | |
parent | 23ddf9bea900b4ce39e5707e1ddf66062cfe6d91 (diff) | |
download | linux-503f82a9932d311c12430779627f7a130bbe462a.tar.gz linux-503f82a9932d311c12430779627f7a130bbe462a.tar.bz2 linux-503f82a9932d311c12430779627f7a130bbe462a.zip |
ceph: support copy_file_range file operation
This commit implements support for the copy_file_range syscall in cephfs.
It is implemented using the RADOS 'copy-from' operation, which allows to
do a remote object copy, without the need to download/upload data from/to
the OSDs.
Some manual copy may however be required if the source/destination file
offsets aren't object aligned or if the copy length is smaller than the
object size.
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions