Skip to content

Commit cce4ee9

Browse files
committed
SUNRPC: Remove dprintk() in svc_handle_xprt()
When enabled, this dprintk() fires for every incoming RPC, which is an enormous amount of log traffic. These days, after the first few hundred log messages, the system journald is just going to mute it, along with all other NFSD debug output. Let's rely on trace points for this high-traffic information instead. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent e827732 commit cce4ee9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

net/sunrpc/svc_xprt.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -843,9 +843,6 @@ static int svc_handle_xprt(struct svc_rqst *rqstp, struct svc_xprt *xprt)
843843
svc_xprt_received(xprt);
844844
} else if (svc_xprt_reserve_slot(rqstp, xprt)) {
845845
/* XPT_DATA|XPT_DEFERRED case: */
846-
dprintk("svc: server %p, pool %u, transport %p, inuse=%d\n",
847-
rqstp, rqstp->rq_pool->sp_id, xprt,
848-
kref_read(&xprt->xpt_ref));
849846
rqstp->rq_deferred = svc_deferred_dequeue(xprt);
850847
if (rqstp->rq_deferred)
851848
len = svc_deferred_recv(rqstp);

0 commit comments

Comments
 (0)