Whamcloud - gitweb
Branch b1_4_mountconf
[fs/lustre-release.git] / lustre / mgs / mgs_internal.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  */
4
5 #ifndef _MGS_INTERNAL_H
6 #define _MGS_INTERNAL_H
7
8 #include <linux/lustre_mgs.h>
9
10 #define MGS_SERVICE_WATCHDOG_TIMEOUT (obd_timeout * 1000)
11
12 extern struct lvfs_callback_ops mgs_lvfs_ops;
13
14 int mgs_init_db_list(struct obd_device *obd);
15 int mgs_cleanup_db_list(struct obd_device *obd);
16 int mgs_set_next_index(struct obd_device *obd, mgmt_target_info *mti);
17 int mgs_write_log_target(struct obd_device *obd, struct mgmt_target_info *mti)
18
19 #endif