• Chuck Lever's avatar
    sunrpc: Simplify trace_svc_recv · 41f306d0
    Chuck Lever authored
    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: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    41f306d0
sunrpc.h 18.4 KB