12 struct lustre_ha_mgr {
14 struct task_struct *mgr_thread;
15 wait_queue_head_t mgr_waitq;
16 wait_queue_head_t mgr_ctl_waitq;
19 struct list_head mgr_connections_lh; /* connections managed by the mgr */
20 struct list_head mgr_troubled_lh; /* connections in trouble */
23 struct lustre_ha_thread {
25 struct lustre_ha_mgr *mgr;
26 struct obd_device *dev;
29 int llite_ha_cleanup(struct lustre_ha_mgr *mgr);
30 struct lustre_ha_mgr *llite_ha_setup(void);
31 void llite_ha_conn_fail(struct ptlrpc_client *cli);
32 void llite_ha_conn_manage(struct lustre_ha_mgr *mgr, struct ptlrpc_client *cli);