• Chuck Lever's avatar
    SUNRPC: Restructure svc_tcp_recv_record() · a5cda73e
    Chuck Lever authored
    Refactor: svc_recvfrom() is going to be converted to read into
    bio_vecs in a moment. Unhook the only other caller,
    svc_tcp_recv_record(), which just wants to read the 4-byte stream
    record marker into a kvec.
    
    While we're in the area, streamline this helper by straight-lining
    the hot path, replace dprintk call sites with tracepoints, and
    reduce the number of atomic bit operations in this path.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    a5cda73e
svcsock.c 36.4 KB