hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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)) {