diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-25 06:35:58 +0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-26 05:25:17 +0400 |
commit | 2aca5b869ace67a63aab895659e5dc14c33a4d6e (patch) | |
tree | 305aa5ff30ea4c0916a854ac1d0de84486949ddb /fs | |
parent | 2f3169fb18f4643ac9a6a097a6a6c71f0b2cef75 (diff) | |
download | linux-2aca5b869ace67a63aab895659e5dc14c33a4d6e.tar.xz |
SUNRPC: Add missing support for RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT
The flag RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT was intended introduced in
order to allow NFSv4 clients to disable resend timeouts. Since those
cause the RPC layer to break the connection, they mess up the duplicate
reply caches that remain indexed on the port number in NFSv4..
This patch includes the code that was missing in the original to
set the appropriate flag in struct rpc_clnt, when the caller of
rpc_create() sets RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT.
Fixes: 8a19a0b6cb2e (SUNRPC: Add RPC task and client level options to...)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions