Whamcloud - gitweb
Branch b1_4_mountconf
[fs/lustre-release.git] / lustre / mgs / mgs_internal.h
index 9733fba..fad39a2 100644 (file)
@@ -7,10 +7,14 @@
 
 #include <linux/lustre_mgs.h>
 
-#define MGS_SERVICE_WATCHDOG_TIMEOUT (obd_timeout * 1000)
+/* MDS has o_t * 1000 */
+#define MGS_SERVICE_WATCHDOG_TIMEOUT (obd_timeout * 10)
 
 extern struct lvfs_callback_ops mgs_lvfs_ops;
 
-int mgs_get_index(struct obd_device *obd, mgmt_target_info *mti);
+int mgs_init_db_list(struct obd_device *obd);
+int mgs_cleanup_db_list(struct obd_device *obd);
+int mgs_set_index(struct obd_device *obd, struct mgmt_target_info *mti);
+int mgs_write_log_target(struct obd_device *obd, struct mgmt_target_info *mti);
 
 #endif