summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4session.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-08-09 12:48:53 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-03 15:26:34 -0400
commit744aa5253010636bb56f062336e9cae3132a46fb (patch)
tree616addca502e8a585bf9ca8fccf764fec347c0c1 /fs/nfs/nfs4session.h
parent9d33059c1b76d77004753799479af6d359d83217 (diff)
downloadlinux-744aa5253010636bb56f062336e9cae3132a46fb.tar.bz2
NFS: Add global helper to set up a stand-along nfs4_slot_table
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.h')
-rw-r--r--fs/nfs/nfs4session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h
index e069cf2d8c5f..f223a7648f9e 100644
--- a/fs/nfs/nfs4session.h
+++ b/fs/nfs/nfs4session.h
@@ -72,6 +72,8 @@ enum nfs4_session_state {
NFS4_SESSION_INITING,
};
+extern int nfs4_setup_slot_table(struct nfs4_slot_table *tbl,
+ unsigned int max_reqs, const char *queue);
extern struct nfs4_slot *nfs4_alloc_slot(struct nfs4_slot_table *tbl);
extern void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
extern void nfs4_slot_tbl_drain_complete(struct nfs4_slot_table *tbl);