From c59e4cc34daadb47669f445532acabaa83ba7f8a Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Tue, 1 Jul 2014 20:47:16 +0000 Subject: Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1 server behaviour. It is a rather large merge, but I am hoping that there will not be any regressions for the NFS server. MFC after: 1 month --- sys/rpc/svc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/rpc/svc.h') diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h index 4f2c853ea993..1c7bbce009e8 100644 --- a/sys/rpc/svc.h +++ b/sys/rpc/svc.h @@ -145,6 +145,7 @@ struct __rpc_svcthread; * Server side transport handle. In the kernel, transports have a * reference count which tracks the number of currently assigned * worker threads plus one for the service pool's reference. + * For NFSv4.1 sessions, a reference is also held for a backchannel. */ typedef struct __rpc_svcxprt { #ifdef _KERNEL @@ -774,6 +775,13 @@ extern SVCXPRT *svc_vc_create(SVCPOOL *, struct socket *, extern SVCXPRT *svc_vc_create_backchannel(SVCPOOL *); +extern void *clnt_bck_create(struct socket *, const rpcprog_t, const rpcvers_t); + /* + * struct socket *; -- server transport socket + * const rpcprog_t prog; -- RPC program number + * const rpcvers_t vers; -- RPC program version + */ + /* * Generic TLI create routine */ -- cgit v1.2.3