+ /** Protects ted_lcd, ted_reply_* and
+ * ted_release_* fields below */
+ struct mutex ted_lcd_lock;
+ /** Per-client data for each export */
+ struct lsd_client_data *ted_lcd;
+ /** Offset of record in last_rcvd file */
+ loff_t ted_lr_off;
+ /** Client index in last_rcvd file */
+ int ted_lr_idx;
+
+ /**
+ * ted_nodemap_lock is used to ensure that the nodemap is not destroyed
+ * between the time that ted_nodemap is checked for NULL, and a
+ * reference is taken. Modifications to ted_nodemap require that the
+ * active_config_lock and the nodemap(s)'s nm_member_list_lock be
+ * taken, as well as ted_nodemap_lock, so the export can be properly
+ * added to or removed from the nodemap's member list. When an export
+ * is added to a nodemap, a reference on that nodemap must be taken.
+ * That reference can be put only after ted_nodemap no longer refers to
+ * it.
+ */
+ spinlock_t ted_nodemap_lock;
+ struct lu_nodemap *ted_nodemap;
+ struct list_head ted_nodemap_member;
+
+ /** last version of nodemap config sent to client */
+ __u64 ted_nodemap_version;
+
+ /* Every reply data fields below are
+ * protected by ted_lcd_lock */
+ /** List of reply data */
+ struct list_head ted_reply_list;
+ int ted_reply_cnt;
+ /** Reply data with highest transno is retained */
+ struct tg_reply_data *ted_reply_last;
+ /* Statistics */
+ int ted_reply_max; /* high water mark */
+ int ted_release_xid;
+ int ted_release_tag;
+ /* grants */
+ long ted_dirty; /* in bytes */
+ long ted_grant; /* in bytes */
+ long ted_pending; /* bytes just being written */
+ __u8 ted_pagebits; /* log2 of client page size */
+
+ /**
+ * File Modification Data (FMD) tracking
+ */
+ spinlock_t ted_fmd_lock; /* protects ted_fmd_list */
+ struct list_head ted_fmd_list; /* FIDs being modified */
+ int ted_fmd_count;/* items in ted_fmd_list */