hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/fs/ceph/metric.c
....@@ -130,7 +130,7 @@
130130 struct ceph_mds_client *mdsc =
131131 container_of(m, struct ceph_mds_client, metric);
132132
133
- if (mdsc->stopping)
133
+ if (mdsc->stopping || disable_send_metrics)
134134 return;
135135
136136 if (!m->session || !check_session_state(m->session)) {