pnfs: layout roc code
[linux-2.6-block.git] / include / linux / nfs_fs_sb.h
index 1eaa054a2c7d4c78b7d969d77765102cbc051b16..7f20c0b47a91c431ea950710e4f80ff5b43ecf85 100644 (file)
@@ -149,6 +149,7 @@ struct nfs_server {
                                                   that are supported on this
                                                   filesystem */
        struct pnfs_layoutdriver_type  *pnfs_curr_ld; /* Active layout driver */
+       struct rpc_wait_queue   roc_rpcwaitq;
 #endif
        void (*destroy)(struct nfs_server *);
 
@@ -197,6 +198,7 @@ struct nfs4_slot_table {
                                                 * op for dynamic resizing */
        int             target_max_slots;       /* Set by CB_RECALL_SLOT as
                                                 * the new max_slots */
+       struct completion complete;
 };
 
 static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp)
@@ -213,7 +215,6 @@ struct nfs4_session {
        unsigned long                   session_state;
        u32                             hash_alg;
        u32                             ssv_len;
-       struct completion               complete;
 
        /* The fore and back channel */
        struct nfs4_channel_attrs       fc_attrs;