SUNRPC: Replace dprintk() call site in xs_nospace()
"no socket space" is an exceptional and infrequent condition that troubleshooters want to know about. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:

committed by
Anna Schumaker

parent
9ce07ae5eb
commit
015747d296
@@ -762,10 +762,7 @@ static int xs_nospace(struct rpc_rqst *req)
|
||||
struct sock *sk = transport->inet;
|
||||
int ret = -EAGAIN;
|
||||
|
||||
dprintk("RPC: %5u xmit incomplete (%u left of %u)\n",
|
||||
req->rq_task->tk_pid,
|
||||
req->rq_slen - transport->xmit.offset,
|
||||
req->rq_slen);
|
||||
trace_rpc_socket_nospace(req, transport);
|
||||
|
||||
/* Protect against races with write_space */
|
||||
spin_lock(&xprt->transport_lock);
|
||||
|
Reference in New Issue
Block a user