summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/clnt.h
diff options
context:
space:
mode:
authorTrond Myklebust2017-04-27 14:50:51 +0200
committerTrond Myklebust2019-07-06 20:54:50 +0200
commit612b41f808a98a124b23d72229693c3181733291 (patch)
treeff691ddc80892858312a7aa0ce43e1c4286e63ad /include/linux/sunrpc/clnt.h
parentSUNRPC: Add basic load balancing to the transport switch (diff)
downloadkernel-qcow2-linux-612b41f808a98a124b23d72229693c3181733291.tar.gz
kernel-qcow2-linux-612b41f808a98a124b23d72229693c3181733291.tar.xz
kernel-qcow2-linux-612b41f808a98a124b23d72229693c3181733291.zip
SUNRPC: Allow creation of RPC clients with multiple connections
Add an argument to struct rpc_create_args that allows the specification of how many transport connections you want to set up to the server. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc/clnt.h')
-rw-r--r--include/linux/sunrpc/clnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index 6e8073140a5d..4619098affa3 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -124,6 +124,7 @@ struct rpc_create_args {
u32 prognumber; /* overrides program->number */
u32 version;
rpc_authflavor_t authflavor;
+ u32 nconnect;
unsigned long flags;
char *client_name;
struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */