+struct mds_client_data;
+struct mds_idmap_table;
+
+struct mds_export_data {
+ struct list_head med_open_head;
+ spinlock_t med_open_lock;
+ struct mds_client_data *med_mcd;
+ loff_t med_off;
+ int med_idx;
+ unsigned int med_initialized:1,
+ med_remote:1;
+ __u32 med_nllu;
+ __u32 med_nllg;
+ struct mds_idmap_table *med_idmap;
+};
+
+struct osc_creator {
+ spinlock_t oscc_lock;
+ struct obd_device *oscc_obd;
+ int oscc_flags;
+ obd_id oscc_next_id;
+ wait_queue_head_t oscc_waitq;
+};
+
+struct ldlm_export_data {
+ struct list_head led_held_locks; /* protected by namespace lock */
+};
+
+struct ec_export_data { /* echo client */
+ struct list_head eced_locks;
+};
+
+/* In-memory access to client data from OST struct */
+struct filter_client_data;
+struct obd_llogs;
+struct filter_export_data {
+ spinlock_t fed_lock; /* protects fed_open_head */
+ __u32 fed_group;
+ struct filter_client_data *fed_fcd;
+ loff_t fed_lr_off;
+ int fed_lr_idx;
+ long fed_dirty; /* in bytes */
+ long fed_grant; /* in bytes */
+ long fed_pending; /* bytes just being written */
+};
+