SUNRPC: Refactor xprt_request_wait_receive()
Convert the transport callback to actually put the request to sleep instead of just setting a timeout. This is in preparation for rpc_sleep_on_timeout(). Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Anna Schumaker <Anna.Schumaker@Netapp.com>
Showing
- include/linux/sunrpc/xprt.h 3 additions, 3 deletionsinclude/linux/sunrpc/xprt.h
- net/sunrpc/xprt.c 42 additions, 37 deletionsnet/sunrpc/xprt.c
- net/sunrpc/xprtrdma/svc_rdma_backchannel.c 1 addition, 1 deletionnet/sunrpc/xprtrdma/svc_rdma_backchannel.c
- net/sunrpc/xprtrdma/transport.c 1 addition, 1 deletionnet/sunrpc/xprtrdma/transport.c
- net/sunrpc/xprtsock.c 4 additions, 4 deletionsnet/sunrpc/xprtsock.c
Please register or sign in to comment