lkml.org 
[lkml]   [2021]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] ceph: metrics for remote object copies
Date
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(-)

\
 
 \ /
  Last update: 2021-11-03 12:25    [W:0.051 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site