diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-08-20 00:32:25 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-08-24 20:24:15 +0300 |
commit | 537935f72eb28a3dd0097386f06402e25e66359a (patch) | |
tree | 62aa38da6e9242729a48e96d158b02e4c0c4b78e /fs/nfs/internal.h | |
parent | cd18f24085f012b46b8271640b3c60fb27c0b05f (diff) | |
download | linux-537935f72eb28a3dd0097386f06402e25e66359a.tar.xz |
NFS/pNFS: Set the connect timeout for the pNFS flexfiles driver
Ensure that the connect timeout for the pNFS flexfiles driver is of the
same order as the I/O timeout, so that we can fail over quickly when
trying to read from a data server that is down.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 41abea340ad8..9c9cf764f600 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -82,6 +82,8 @@ struct nfs_client_initdata { const struct rpc_timeout *timeparms; const struct cred *cred; struct xprtsec_parms xprtsec; + unsigned long connect_timeout; + unsigned long reconnect_timeout; }; /* |