nfsd41: Backchannel: Server backchannel RPC wait queue
[safe/jmp/linux-2.6] / include / linux / nfsd / state.h
index 0e5b5ae..9cc40a1 100644 (file)
@@ -219,7 +219,11 @@ struct nfs4_client {
        struct nfs4_sessionid   cl_sessionid;
 
        /* for nfs41 callbacks */
+       /* We currently support a single back channel with a single slot */
+       unsigned long           cl_cb_slot_busy;
        struct svc_xprt         *cl_cb_xprt;    /* 4.1 callback transport */
+       struct rpc_wait_queue   cl_cb_waitq;    /* backchannel callers may */
+                                               /* wait here for slots */
 };
 
 /* struct nfs4_client_reset