diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-27 18:13:40 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-06 21:54:50 +0300 |
commit | 6619079d05404cb32be29af329b87ac3b0ad4f96 (patch) | |
tree | 76d7bd7275a30e9758c20cbaacc21ae950a93157 /include/linux/nfs_fs_sb.h | |
parent | 28cc5cd8c68f1cd2146d88c7a54cc3234ed4dabe (diff) | |
download | linux-6619079d05404cb32be29af329b87ac3b0ad4f96.tar.xz |
NFSv4: Allow multiple connections to NFSv4.x (x>0) servers
If the user specifies the -onconn=<number> mount option, and the transport
protocol is TCP, then set up <number> connections to the server. The
connections will all go to the same IP address.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 1e78032a174b..a87fe854f008 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -58,6 +58,7 @@ struct nfs_client { struct nfs_subversion * cl_nfs_mod; /* pointer to nfs version module */ u32 cl_minorversion;/* NFSv4 minorversion */ + unsigned int cl_nconnect; /* Number of connections */ const char * cl_principal; /* used for machine cred */ #if IS_ENABLED(CONFIG_NFS_V4) |