Whamcloud - gitweb
LU-14090 mgs: no local logs flag
[fs/lustre-release.git] / lustre / include / lustre_disk.h
index 45222b0..4821985 100644 (file)
@@ -108,6 +108,8 @@ struct lustre_mount_data {
 #define LMD_FLG_DEV_RDONLY     0x8000  /* discard modification quitely */
 #define LMD_FLG_NO_PRECREATE   0x10000 /* do not allow OST object creation */
 #define LMD_FLG_LOCAL_RECOV    0x20000 /* force recovery for local clients */
+#define LMD_FLG_ABORT_RECOV_MDT        0x40000 /* Abort recovery between MDTs */
+#define LMD_FLG_NO_LOCAL_LOGS  0x80000 /* Use config logs from MGS */
 
 #define lmd_is_client(x) ((x)->lmd_flags & LMD_FLG_CLIENT)
 
@@ -349,16 +351,18 @@ int target_name2index(const char *svname, u32 *idx, const char **endptr);
 int lustre_put_lsi(struct super_block *sb);
 int lustre_start_simple(char *obdname, char *type, char *uuid,
                        char *s1, char *s2, char *s3, char *s4);
-int lustre_start_mgc(struct super_block *sb);
 #endif /* HAVE_SERVER_SUPPORT */
 int server_name2fsname(const char *svname, char *fsname, const char **endptr);
 void obdname2fsname(const char *tgt, char *fsname, size_t fslen);
 
-void lustre_register_super_ops(struct module *mod,
-                              int (*cfs)(struct super_block *sb),
-                              void (*ksc)(struct super_block *sb));
+int lustre_start_mgc(struct super_block *sb);
 int lustre_common_put_super(struct super_block *sb);
 
+struct lustre_sb_info *lustre_init_lsi(struct super_block *sb);
+int lustre_put_lsi(struct super_block *sb);
+int lmd_parse(char *options, struct lustre_mount_data *lmd);
+
+/* mgc_request.c */
 int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type);
 int mgc_logname2resid(char *fsname, struct ldlm_res_id *res_id, int type);