• Trond Myklebust's avatar
    [PATCH] Do RPC over TCP reply message delivery in sock->data_ready() · e387819a
    Trond Myklebust authored
    xprt.c:
      Speed up synchronous RPC over TCP calls by having the
      replies delivered by the IPV4 "bottom half", instead of
      switching to the rpciod process in order to call recvmsg().
       - Remove sock_recvmsg() interface.
       - Remove rpc_xprt_pending list and rpciod_tcp_dispatcher() interface.
       - Use the new tcp_read_sock() interface to deliver data directly
         from within tcp_data_ready().
    sched.c:
       - Remove references to rpciod_tcp_dispatcher.
    xprt.h:
       - New set of flags to reflect the TCP record read state.
    
    Cheers,
      Trond
    e387819a
xprt.c 34.8 KB