NFSv4.1: Shrink struct nfs4_sequence_res by moving the session pointer
[linux-2.6-block.git] / include / linux / nfs_fs_sb.h
index a9e76ee1adcae3c28c4823ae5cf7eb472bd05a03..b0412873d29c4f5bb35dc1dc32354106eb2eeca7 100644 (file)
@@ -209,6 +209,7 @@ struct nfs_server {
 /* Sessions */
 #define SLOT_TABLE_SZ DIV_ROUND_UP(NFS4_MAX_SLOT_TABLE, 8*sizeof(long))
 struct nfs4_slot_table {
+       struct nfs4_session *session;           /* Parent session */
        struct nfs4_slot *slots;                /* seqid per slot */
        unsigned long   used_slots[SLOT_TABLE_SZ]; /* used/unused bitmap */
        spinlock_t      slot_tbl_lock;
@@ -242,6 +243,9 @@ struct nfs4_session {
        struct nfs4_channel_attrs       bc_attrs;
        struct nfs4_slot_table          bc_slot_table;
        struct nfs_client               *clp;
+       /* Create session arguments */
+       unsigned int                    fc_target_max_rqst_sz;
+       unsigned int                    fc_target_max_resp_sz;
 };
 
 #endif /* CONFIG_NFS_V4 */