Messages in this thread | | | From | Luís Henriques <> | Subject | [PATCH 0/2] ceph: metrics for remote object copies | Date | Wed, 3 Nov 2021 11:24:03 +0000 |
| |
Following this email, I'm sending two patches that add support for a an extra metric in the cephfs metrics infrastructure.
The 1st patch modifies libceph so that ceph_osdc_copy_from() returns an OSD request and makes it responsibility of the caller to do the wait (and release the request). This is required so that the callers (currently only the copy_file_range() syscall code) can access the request latency timestamps.
The 2nd patch effectively adds support for the 'copyfrom' metrics.
Luís Henriques (2): libceph: have ceph_osdc_copy_from() return the osd request ceph: add a new metric to keep track of remote object copies
fs/ceph/debugfs.c | 3 ++- fs/ceph/file.c | 13 ++++++++++++- fs/ceph/metric.h | 8 ++++++++ include/linux/ceph/osd_client.h | 21 +++++++++++---------- net/ceph/osd_client.c | 27 ++++++++++++++------------- 5 files changed, 47 insertions(+), 25 deletions(-)
| |