SUNRPC: Add function rpc_sleep_on_timeout()
Clean up the RPC task sleep interfaces by replacing the task->tk_timeout 'hidden parameter' to rpc_sleep_on() with a new function that takes an absolute timeout. Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Anna Schumaker <Anna.Schumaker@Netapp.com>
Showing
- fs/nfs/nfs4proc.c 12 additions, 6 deletionsfs/nfs/nfs4proc.c
- include/linux/sunrpc/sched.h 8 additions, 1 deletioninclude/linux/sunrpc/sched.h
- net/sunrpc/auth_gss/auth_gss.c 2 additions, 3 deletionsnet/sunrpc/auth_gss/auth_gss.c
- net/sunrpc/clnt.c 0 additions, 1 deletionnet/sunrpc/clnt.c
- net/sunrpc/rpcb_clnt.c 2 additions, 1 deletionnet/sunrpc/rpcb_clnt.c
- net/sunrpc/sched.c 56 additions, 13 deletionsnet/sunrpc/sched.c
- net/sunrpc/xprt.c 21 additions, 15 deletionsnet/sunrpc/xprt.c
Please register or sign in to comment