aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 320569eabe3b..e82957acea56 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -105,7 +105,7 @@ struct nfs_server {
105 struct rpc_clnt * client; /* RPC client handle */ 105 struct rpc_clnt * client; /* RPC client handle */
106 struct rpc_clnt * client_acl; /* ACL RPC client handle */ 106 struct rpc_clnt * client_acl; /* ACL RPC client handle */
107 struct nlm_host *nlm_host; /* NLM client handle */ 107 struct nlm_host *nlm_host; /* NLM client handle */
108 struct nfs_iostats * io_stats; /* I/O statistics */ 108 struct nfs_iostats __percpu *io_stats; /* I/O statistics */
109 struct backing_dev_info backing_dev_info; 109 struct backing_dev_info backing_dev_info;
110 atomic_long_t writeback; /* number of writeback pages */ 110 atomic_long_t writeback; /* number of writeback pages */
111 int flags; /* various flags */ 111 int flags; /* various flags */
@@ -176,6 +176,7 @@ struct nfs_server {
176#define NFS_CAP_ATIME (1U << 11) 176#define NFS_CAP_ATIME (1U << 11)
177#define NFS_CAP_CTIME (1U << 12) 177#define NFS_CAP_CTIME (1U << 12)
178#define NFS_CAP_MTIME (1U << 13) 178#define NFS_CAP_MTIME (1U << 13)
179#define NFS_CAP_POSIX_LOCK (1U << 14)
179 180
180 181
181/* maximum number of slots to use */ 182/* maximum number of slots to use */
@@ -193,6 +194,8 @@ struct nfs4_slot_table {
193 int max_slots; /* # slots in table */ 194 int max_slots; /* # slots in table */
194 int highest_used_slotid; /* sent to server on each SEQ. 195 int highest_used_slotid; /* sent to server on each SEQ.
195 * op for dynamic resizing */ 196 * op for dynamic resizing */
197 int target_max_slots; /* Set by CB_RECALL_SLOT as
198 * the new max_slots */
196}; 199};
197 200
198static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp) 201static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp)
@@ -209,6 +212,7 @@ struct nfs4_session {
209 unsigned long session_state; 212 unsigned long session_state;
210 u32 hash_alg; 213 u32 hash_alg;
211 u32 ssv_len; 214 u32 ssv_len;
215 struct completion complete;
212 216
213 /* The fore and back channel */ 217 /* The fore and back channel */
214 struct nfs4_channel_attrs fc_attrs; 218 struct nfs4_channel_attrs fc_attrs;