Re: [PATCH 1/1] [SUNRPC] make sure to clone timeout values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2018-05-22 at 14:40 -0400, Olga Kornievskaia wrote:
> From: Olga Kornievskaia <olga.kornievskaia@xxxxxxxxx>
> 
> For pNFS, the operations to DS currently timeout in 10s. According
> to the spec, the client must not be re-trying an NFSv4.1 operation
> unless the connection was broken.
> 
> Signed-off-by: Olga Kornievskaia <kolga@xxxxxxxxxx>
> ---
>  net/sunrpc/clnt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
> index 6e432ec..97517eb 100644
> --- a/net/sunrpc/clnt.c
> +++ b/net/sunrpc/clnt.c
> @@ -668,6 +668,7 @@ struct rpc_clnt *
>  		.prognumber	= clnt->cl_prog,
>  		.version	= clnt->cl_vers,
>  		.authflavor	= flavor,
> +		.timeout	= clnt->cl_timeout,
>  	};
>  	return __rpc_clone_client(&args, clnt);
>  }

What does this patch have to do with pNFS? That's the generic RPC
client cloning API you are changing.

The pNFS/files timeouts are intended to be set using the
dataserver_retrans and dataserver_timeo module parameters described at
the bottom of fs/nfs/filelayout/filelayoutdev.c

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux