hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
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)) {