public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ceph: metrics for remote object copies
@ 2021-11-03 11:24 Luís Henriques
  2021-11-03 11:24 ` [PATCH 1/2] libceph: have ceph_osdc_copy_from() return the osd request Luís Henriques
  2021-11-03 11:24 ` [PATCH 2/2] ceph: add a new metric to keep track of remote object copies Luís Henriques
  0 siblings, 2 replies; 5+ messages in thread
From: Luís Henriques @ 2021-11-03 11:24 UTC (permalink / raw)
  To: Jeff Layton, Ilya Dryomov, Xiubo Li
  Cc: Patrick Donnelly, ceph-devel, linux-kernel, Luís Henriques

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(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-03 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-03 11:24 [PATCH 0/2] ceph: metrics for remote object copies Luís Henriques
2021-11-03 11:24 ` [PATCH 1/2] libceph: have ceph_osdc_copy_from() return the osd request Luís Henriques
2021-11-03 13:06   ` Jeff Layton
2021-11-03 14:32     ` Luís Henriques
2021-11-03 11:24 ` [PATCH 2/2] ceph: add a new metric to keep track of remote object copies Luís Henriques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox