hc
2024-05-11 645e752c5a84baeb21015cdc85fc05b7d16312c8
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)) {