• Chuck Lever's avatar
    svcrdma: Split the svcrdma_wc_receive() tracepoint · 8dcc5721
    Chuck Lever authored
    There are currently three separate purposes being served by a single
    tracepoint here. They need to be split up.
    
    svcrdma_wc_recv:
     - status is always zero, so there's no value in recording it.
     - vendor_err is meaningless unless status is not zero, so
       there's no value in recording it.
     - This tracepoint is needed only when developing modifications,
       so it should be left disabled most of the time.
    
    svcrdma_wc_recv_flush:
     - As above, needed only rarely, and not an error.
    
    svcrdma_wc_recv_err:
     - received is always zero, so there's no value in recording it.
     - This tracepoint can be left enabled because completion
       errors are run-time problems (except for FLUSHED_ERR).
     - Tracepoint name now ends in _err to reflect its purpose.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    8dcc5721
rpcrdma.h 46.1 KB