summaryrefslogtreecommitdiff
path: root/common/ceph
AgeCommit message (Collapse)Author
2022-04-17ceph/001: add extra check for remote object copiesLuís Henriques
Ceph kernel client now has a facility to check stats for certain operations. One of these operations is the 'copyfrom', the operation that is used to offload to the OSDs the copy of objects from, for example, the copy_file_range() syscall. This patch changes ceph/001 to add an extra check to verify that the copies performed by the test are _really_ remote copies and not simple read+write operations. Signed-off-by: Luís Henriques <lhenriques@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-12-06ceph: add a new test for cross quota realms renamesLuis Henriques
For the moment cross quota realms renames has been disabled in CephFS after a bug has been found while renaming files created and truncated. This allowed clients to easily circumvent quotas. Link: https://tracker.ceph.com/issues/48203 Signed-off-by: Luis Henriques <lhenriques@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-11-02ceph: add copy_file_range (remote copy operation) testingLuis Henriques
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>