diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-20 14:45:48 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:42 -0500 |
commit | 97e548a93de213b149eea025a97d88e28143b445 (patch) | |
tree | 7536bccb32193adf105bc1ede6462d6482589f4e /include/linux/nfs_fs_sb.h | |
parent | 1b285ff16ab52fb401aed7ce70abed4bb65b30b5 (diff) |
NFSv4.1: Support dynamic resizing of the session slot table
Allow the server to control the size of the session slot table
by adjusting the value of sr_target_max_slots in the reply to the
SEQUENCE operation.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 646e64bbff4c..30715508fade 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -215,6 +215,7 @@ struct nfs4_slot_table { | |||
215 | spinlock_t slot_tbl_lock; | 215 | spinlock_t slot_tbl_lock; |
216 | struct rpc_wait_queue slot_tbl_waitq; /* allocators may wait here */ | 216 | struct rpc_wait_queue slot_tbl_waitq; /* allocators may wait here */ |
217 | u32 max_slots; /* # slots in table */ | 217 | u32 max_slots; /* # slots in table */ |
218 | u32 max_slotid; /* Max allowed slotid value */ | ||
218 | u32 highest_used_slotid; /* sent to server on each SEQ. | 219 | u32 highest_used_slotid; /* sent to server on each SEQ. |
219 | * op for dynamic resizing */ | 220 | * op for dynamic resizing */ |
220 | u32 target_highest_slotid; /* Server max_slot target */ | 221 | u32 target_highest_slotid; /* Server max_slot target */ |