summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-21 01:49:20 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-06 00:30:42 +0100
commit87dda67e7386ba7d2164391ea58b34e028d8157b (patch)
tree9f8740fa1631a5bb5d3163d86783a764d542cbc6 /include
parentNFSv4.1: Support dynamic resizing of the session slot table (diff)
downloadlinux-87dda67e7386ba7d2164391ea58b34e028d8157b.tar.xz
linux-87dda67e7386ba7d2164391ea58b34e028d8157b.zip
NFSv4.1: Allow SEQUENCE to resize the slot table on the fly
Instead of an array of slots, use a singly linked list of slots that can be dynamically appended to or shrunk. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 3ddb08fba935..44d256f6021c 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -188,6 +188,7 @@ struct nfs4_channel_attrs {
/* nfs41 sessions slot seqid */
struct nfs4_slot {
struct nfs4_slot_table *table;
+ struct nfs4_slot *next;
unsigned long generation;
unsigned long renewal_time;
u32 slot_nr;