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>
此提交包含在:
Trond Myklebust
2017-04-27 08:50:51 -04:00
提交者 Trond Myklebust
父節點 21f0ffaff5
當前提交 612b41f808
共有 3 個檔案被更改,包括 18 行新增3 行删除

查看文件

@@ -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 */