diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-03-27 10:50:42 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-04-03 15:08:11 -0400 |
commit | 41f306d0c287e0cc04054135f9f4ceb003ad6795 (patch) | |
tree | e155d146aa48999173d7d094f5906e2051b5b24e /net/sunrpc/xprtrdma/svc_rdma_transport.c | |
parent | 7dbb53baed3c3969dea43e3cee261a75adde123c (diff) | |
download | op-kernel-dev-41f306d0c287e0cc04054135f9f4ceb003ad6795.zip op-kernel-dev-41f306d0c287e0cc04054135f9f4ceb003ad6795.tar.gz |
sunrpc: Simplify trace_svc_recv
There doesn't seem to be a lot of value in calling trace_svc_recv
in the failing case.
1. There are two very common cases: one is the transport is not
ready, and the other is shutdown. Neither is terribly interesting.
2. The trace record for the failing case contains nothing but
the status code.
Therefore the trace point call site in the error exit is removed.
Since the trace point is now recording a length instead of a
status, rename the status field and remove the case that records a
zero XID.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_transport.c')
0 files changed, 0 insertions, 0 deletions