* Target-specific export data
*/
struct tg_export_data {
- /** Protects led_lcd below */
+ /** 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;
/** nodemap this export is a member of */
struct lu_nodemap *ted_nodemap;
struct hlist_node ted_nodemap_member;
+
+ /* 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;
};
/**
struct list_head exp_obd_chain;
struct hlist_node exp_uuid_hash; /** uuid-export hash*/
struct hlist_node exp_nid_hash; /** nid-export hash */
+ struct hlist_node exp_gen_hash; /** last_rcvd clt gen hash */
/**
* All exports eligible for ping evictor are linked into a list
* through this field in "most time since last request on this export"