]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ceph/001: add extra check for remote object copies
authorLuís Henriques <lhenriques@suse.de>
Wed, 23 Mar 2022 16:09:25 +0000 (16:09 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sun, 17 Apr 2022 13:16:12 +0000 (21:16 +0800)
commit0ab8b3ac61ffe7c3b5ac01b6727cc11cddf03384
tree437b696d9042fc72cc5105226e8290a064ce4efb
parentca53ba1e74ebbde853dec09fee93b5e730b9ca1e
ceph/001: add extra check for remote object copies

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>
common/ceph
tests/ceph/001