ceph: add a new metric to keep track of remote object copies
authorLuís Henriques <lhenriques@suse.de>
Thu, 4 Nov 2021 12:31:47 +0000 (12:31 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Nov 2021 02:29:52 +0000 (03:29 +0100)
commitc02cb7bdc4501debc3e71a4d2daf7286c48e1d38
tree662e8a26150a6ca3f9edefb009eaf1a1b484f31d
parentaca39d9e86f3edeaac5d2c467f5fd31e0b0df606
ceph: add a new metric to keep track of remote object copies

This patch adds latency and size metrics for remote object copies
operations ("copyfrom").  For now, these metrics will be available on the
client only, they won't be sent to the MDS.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/debugfs.c
fs/ceph/file.c
fs/ceph/metric.h