Messages in this thread | | | From | Luís Henriques <> | Subject | [PATCH v2 0/2] ceph: metrics for remote object copies | Date | Thu, 4 Nov 2021 12:31:45 +0000 |
| |
Hi!
Here's v2 of this patchset. The differences from v1:
* Instead of changing ceph_osdc_copy_from() in libceph.ko to return an osd request, move that function into the cephfs code instead.
Other than that, the 2nd patch is quite similar to the one from v1: it effectively hooks the 'copyfrom' metrics infrastructure.
Luís Henriques (2): ceph: libceph: move ceph_osdc_copy_from() into cephfs code ceph: add a new metric to keep track of remote object copies
fs/ceph/debugfs.c | 3 +- fs/ceph/file.c | 78 ++++++++++++++++++++++++++++----- fs/ceph/metric.h | 8 ++++ include/linux/ceph/osd_client.h | 19 ++++---- net/ceph/osd_client.c | 60 ++++--------------------- 5 files changed, 94 insertions(+), 74 deletions(-)
| |