NFSv4.1: Use the nfs_client's rpc timeouts for backchannel
For backchannel requests that lookup the appropriate nfs_client, use the state-management rpc_clnt's rpc_timeout parameters for the backchannel's response. When the nfs_client cannot be found, fall back to using the xprt's default timeout parameters. Signed-off-by:Benjamin Coddington <bcodding@redhat.com> Tested-by:
Chuck Lever <chuck.lever@oracle.com> Tested-by:
Jeff Layton <jlayton@kernel.org> Signed-off-by:
Anna Schumaker <Anna.Schumaker@Netapp.com>
Showing
- fs/nfs/callback_xdr.c 5 additions, 0 deletionsfs/nfs/callback_xdr.c
- include/linux/sunrpc/bc_xprt.h 2 additions, 1 deletioninclude/linux/sunrpc/bc_xprt.h
- include/linux/sunrpc/sched.h 13 additions, 1 deletioninclude/linux/sunrpc/sched.h
- include/linux/sunrpc/svc.h 2 additions, 0 deletionsinclude/linux/sunrpc/svc.h
- include/linux/sunrpc/xprt.h 0 additions, 11 deletionsinclude/linux/sunrpc/xprt.h
- net/sunrpc/clnt.c 4 additions, 2 deletionsnet/sunrpc/clnt.c
- net/sunrpc/svc.c 10 additions, 1 deletionnet/sunrpc/svc.c
- net/sunrpc/xprt.c 9 additions, 3 deletionsnet/sunrpc/xprt.c
Please register or sign in to comment