History

SUNRPC: Remove dprintk call site in call_decode

Clean up. When enabled, this dprintk adds a line in /var/log/messages after every RPC that reports the task ID (no connection to on the wire XID values) and the RPC's result (no connection to the program, operation, or the arguments and results). Thus it's value is pretty low. Let's remove it.

Chuck Lever committed 6 years ago

Commit fd66e2a1 parent 7c8099f1 file · +0 −2Browse files

Unified · Split

net/sunrpc/clnt.c+0−2
@@ -2497,8 +2497,6 @@ out: · 2496 unmodified lines
2497 case 0:2497 case 0:
2498 task->tk_action = rpc_exit_task;2498 task->tk_action = rpc_exit_task;
2499 task->tk_status = rpcauth_unwrap_resp(task, &xdr);2499 task->tk_status = rpcauth_unwrap_resp(task, &xdr);
2500 dprintk("RPC: %5u %s result %d\n",
2501 task->tk_pid, __func__, task->tk_status);
2502 return;2500 return;
2503 case -EAGAIN:2501 case -EAGAIN:
2504 task->tk_status = 0;2502 task->tk_status = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t