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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Xiubo Li <xiubli@xxxxxxxxxx>

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

-- 
2.27.0




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux