ceph: add copy_file_range (remote copy operation) testing

Test remote copy operation (CEPH_OSD_OP_COPY_FROM) with different
combinations of both object sizes and copy sizes.

Test remote copy operation (CEPH_OSD_OP_COPY_FROM) with several
combinations of both object sizes and copy sizes.  It also uses several
combinations of copy ranges.  For example, copying the 1st object in the
src file into:

  1) the beginning (1st object) of dst file,
  2) the end (last object) of dst file and
  3) the middle of the dst file.

Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Luis Henriques
2020-10-19 14:27:48 +01:00
committed by Eryu Guan
parent f81829d98c
commit 10f3f9707c
5 changed files with 387 additions and 0 deletions
+1
View File
@@ -138,6 +138,7 @@ case "$FSTYP" in
9p)
;;
ceph)
. ./common/ceph
;;
glusterfs)
;;