diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-10-24 17:28:32 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-11-02 16:29:13 -0500 |
commit | 76566773a1f1c2295ed901b6f1241cfe10d99029 (patch) | |
tree | 91395d3bb57a2733d6b4a8f3461a759770e83e92 /include/linux/sunrpc | |
parent | 0f2e3bdab6590a5d8900e7d701e21ac9af19924c (diff) |
NFS: Enable client side NFSv4.1 backchannel to use other transports
Forechannel transports get their own "bc_up" method to create an
endpoint for the backchannel service.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
[Anna Schumaker: Add forward declaration of struct net to xprt.h]
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 82c083946ef0..69ef5b3ab038 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -54,6 +54,8 @@ enum rpc_display_format_t { | |||
54 | struct rpc_task; | 54 | struct rpc_task; |
55 | struct rpc_xprt; | 55 | struct rpc_xprt; |
56 | struct seq_file; | 56 | struct seq_file; |
57 | struct svc_serv; | ||
58 | struct net; | ||
57 | 59 | ||
58 | /* | 60 | /* |
59 | * This describes a complete RPC request | 61 | * This describes a complete RPC request |
@@ -138,6 +140,7 @@ struct rpc_xprt_ops { | |||
138 | void (*inject_disconnect)(struct rpc_xprt *xprt); | 140 | void (*inject_disconnect)(struct rpc_xprt *xprt); |
139 | int (*bc_setup)(struct rpc_xprt *xprt, | 141 | int (*bc_setup)(struct rpc_xprt *xprt, |
140 | unsigned int min_reqs); | 142 | unsigned int min_reqs); |
143 | int (*bc_up)(struct svc_serv *serv, struct net *net); | ||
141 | void (*bc_free_rqst)(struct rpc_rqst *rqst); | 144 | void (*bc_free_rqst)(struct rpc_rqst *rqst); |
142 | void (*bc_destroy)(struct rpc_xprt *xprt, | 145 | void (*bc_destroy)(struct rpc_xprt *xprt, |
143 | unsigned int max_reqs); | 146 | unsigned int max_reqs); |