Whamcloud - gitweb
WARNING - if an RPC times out you will crash older UML's.
[fs/lustre-release.git] / lustre / include / linux / obd.h
index 53f7b33..ac9667f 100644 (file)
@@ -95,6 +95,20 @@ struct echo_obd {
         struct address_space_operations *eo_aops;
 };
 
+struct connmgr_obd {
+        time_t                mgr_waketime;
+        time_t                mgr_timeout;
+        struct ptlrpc_service *mgr_service;
+        struct ptlrpc_client  *mgr_client;
+        __u32                  mgr_flags; 
+        spinlock_t             mgr_lock;
+        struct list_head      mgr_connections_lh; /* connections managed by the mgr */
+        struct list_head      mgr_troubled_lh; /* connections in trouble */
+        wait_queue_head_t     mgr_ctl_waitq;
+        wait_queue_head_t     mgr_waitq;
+        struct task_struct    *mgr_thread;
+};
+
 struct trace_obd {
         struct obdtrace_opstats *stats;
 };
@@ -152,6 +166,7 @@ struct obd_device {
                 struct osc_obd osc;
                 struct ldlm_obd ldlm;
                 struct echo_obd echo;
+                struct connmgr_obd mgr;
                 struct trace_obd trace;
 #if 0
                 struct raid1_obd raid1;