diff mbox series

ceph: drop send metrics debug message

Message ID 20211130125112.9710-1-jlayton@kernel.org
State New
Headers show
Series ceph: drop send metrics debug message | expand

Commit Message

Jeff Layton Nov. 30, 2021, 12:51 p.m. UTC
This pops every second and isn't very useful.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/ceph/metric.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Xiubo Li Nov. 30, 2021, 1:08 p.m. UTC | #1
On 11/30/21 8:51 PM, Jeff Layton wrote:
> This pops every second and isn't very useful.
>
> Signed-off-by: Jeff Layton <jlayton@kernel.org>
> ---
>   fs/ceph/metric.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/fs/ceph/metric.c b/fs/ceph/metric.c
> index c57699d8408d..0fcba68f9a99 100644
> --- a/fs/ceph/metric.c
> +++ b/fs/ceph/metric.c
> @@ -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;
Reviewed-by: Xiubo Li <xiubli@redhat.com>
diff mbox series

Patch

diff --git a/fs/ceph/metric.c b/fs/ceph/metric.c
index c57699d8408d..0fcba68f9a99 100644
--- a/fs/ceph/metric.c
+++ b/fs/ceph/metric.c
@@ -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;