ceph: only send the metrices supported by the MDS for old cephs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ceph: add the Octopus,Pacific,Quency feature bitsfs/ | +6 | 1 reply | |
| 2/3 | ceph: only send the metrices supported by the MDS for old cephsfs/ fs/ fs/ | +131 | 6 replies | |
| 3/3 | ceph: add force_ignore_metric_bits module parameter supportfs/ fs/ fs/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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