Skip to contentSkip to conversation

ceph: drop send metrics debug message

PATCH In review Jeff Layton 2 participants 2 messages Nov 30, 2021 Ceph client

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ceph: drop send metrics debug message

This pops every second and isn't very useful.

---
 fs/ceph/metric.c | 2 --
 1 file changed, 2 deletions(-)
fs/ceph/metric.c +0 -2
index c57699d8408d..0fcba68f9a99 100644
@@ -160,8 +160,6 @@ static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc,
 	msg->hdr.version = cpu_to_le16(1);
 	msg->hdr.compat_version = cpu_to_le16(1);
 	msg->hdr.front_len = cpu_to_le32(msg->front.iov_len);
-	dout("client%llu send metrics to mds%d\n",
-	     ceph_client_gid(mdsc->fsc->client), s->s_mds);
 	ceph_con_send(&s->s_con, msg);
 
 	return true;
Signature · 1 line
2.33.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Jeff Layton

This pops every second and isn't very useful.

---
  fs/ceph/metric.c | 2 --
  1 file changed, 2 deletions(-)
fs/ceph/metric.c +0 -0
index c57699d8408d..0fcba68f9a99 100644

fs/ceph/metric.c static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc, · line 165

Quoted 8 lines
fs/ceph/metric.c +0 -2
@@ -160,8 +160,6 @@ static bool ceph_mdsc_send_metrics(struct ceph_mds_client *mdsc,
  	msg->hdr.version = cpu_to_le16(1);
  	msg->hdr.compat_version = cpu_to_le16(1);
  	msg->hdr.front_len = cpu_to_le32(msg->front.iov_len);
-	dout("client%llu send metrics to mds%d\n",
-	     ceph_client_gid(mdsc->fsc->client), s->s_mds);
  	ceph_con_send(&s->s_con, msg);
 
  	return true;