Skip to content

ceph: only send the metrices supported by the MDS for old cephs

[email protected] ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ceph: add the Octopus,Pacific,Quency feature bitsfs/ceph/mds_client.h+6 -31 reply
2/3ceph: only send the metrices supported by the MDS for old cephsfs/ceph/mds_client.c fs/ceph/mds_client.h fs/ceph/metric.c+131 -956 replies
3/3ceph: add force_ignore_metric_bits module parameter supportfs/ceph/metric.c fs/ceph/metric.h fs/ceph/super.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ceph: only send the metrices supported by the MDS for old cephs

From: Xiubo Li <[email protected]>

This will fix the issue in [1], and only send metrics to MDS that supported, and for Quincy or higher ceph versions since it's safe will force to send all the metrics. This could make sure the early Quincy ceph versions still could get the metric which haven't backported [2], which will fill the metric bits supported by MDS when opening the sessions, no need to enable the force_ignore_metric_bits module parameter.

[1]: https://tracker.ceph.com/issues/54411
[2]: https://github.com/ceph/ceph/pull/45370

Xiubo Li (3):
ceph: add the Octopus,Pacific,Quency feature bits
ceph: only send the metrices supported by the MDS for old cephs
ceph: add force_ignore_metric_bits module parameter support

 fs/ceph/mds_client.c |  19 +++-
 fs/ceph/mds_client.h |  10 ++-
 fs/ceph/metric.c     | 207 ++++++++++++++++++++++++-------------------
 fs/ceph/metric.h     |   1 +
 fs/ceph/super.c      |   6 +-
 5 files changed, 144 insertions(+), 99 deletions(-)
Signature · 1 line
2.27.0