diff options
author | Andy Adamson <andros@netapp.com> | 2010-01-20 16:06:27 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-10 08:30:59 -0500 |
commit | b9efa1b27e25b1286504973c0a6bf0f24106faa8 (patch) | |
tree | e2cff0c8c7a33869123ea3e340d3b9ac3eefcef2 /include | |
parent | 4911096f1a5df73c12c287a42ece4e7b5d9c19ec (diff) |
nfs41: implement cb_recall_slot
Drain the fore channel and reset the max_slots to the new value.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 34fc6be5bfcf..ecd9e6c74d06 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -193,6 +193,8 @@ struct nfs4_slot_table { | |||
193 | int max_slots; /* # slots in table */ | 193 | int max_slots; /* # slots in table */ |
194 | int highest_used_slotid; /* sent to server on each SEQ. | 194 | int highest_used_slotid; /* sent to server on each SEQ. |
195 | * op for dynamic resizing */ | 195 | * op for dynamic resizing */ |
196 | int target_max_slots; /* Set by CB_RECALL_SLOT as | ||
197 | * the new max_slots */ | ||
196 | }; | 198 | }; |
197 | 199 | ||
198 | static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp) | 200 | static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp) |