lustre_cfg_free(lcfg);
return rc;
}
+#if 0
static int record_cmm_setup(struct obd_device *obd, struct llog_handle *llh,
char *devname, struct cmm_desc *desc)
{
lustre_cfg_free(lcfg);
return rc;
}
+#endif
+
static inline int record_lmv_add(struct obd_device *obd,
struct llog_handle *llh,
char *lmv_name, char *mdt_uuid,
RETURN(rc);
}
-
+#if 0
/***************************************BEGIN PROTO**********************/
static int mgs_write_log_cmm(struct obd_device *obd, struct fs_db *fsdb,
struct mgs_target_info *mti,
OBD_FREE(cmmdesc, sizeof(*cmmdesc));
RETURN(rc);
}
+
/* lmv is the second thing for client logs */
/* copied from mgs_write_log_lov. Please refer to that. */
static int mgs_write_log_lmv(struct obd_device *obd, struct fs_db *fsdb,
RETURN(rc);
}
/***************************************END PROTO**********************/
+#endif
/* lov is the first thing in the mdt and client logs */
static int mgs_write_log_lov(struct obd_device *obd, struct fs_db *fsdb,
/***************************************BEGIN PROTO****************************/
+#if 0
static int mgs_write_log_mdc_to_lmv(struct obd_device *obd, struct fs_db *fsdb,
struct mgs_target_info *mti,
char *logname, char *lmvname)
name_destroy(nodeuuid);
RETURN(rc);
}
+#endif
/***************************************END PROTO*****************************/
/***************************************BEGIN PROTO****************************/
static int mgs_write_log_mdc_to_cmm(struct obd_device *obd, struct fs_db *fsdb,
RETURN(rc);
}
/***************************************END PROTO*****************************/
-
+#if 0
static int mgs_write_log_mdt(struct obd_device *obd, struct fs_db *fsdb,
struct mgs_target_info *mti)
{
name_destroy(cmmname);
RETURN(rc);
}
+#endif
+
/************************** setup mds layers ******************************/
static int mgs_write_log_cmm0(struct obd_device *obd, struct fs_db *fsdb,
char *log, char *dev, char *child)
{
struct llog_handle *llh = NULL;
char *cliname, *osdname, *lovname, *mddname;
- char *mdtname, *cmmname, *lmvname;
+ char *mdtname, *cmmname;// *lmvname;
char *mdcname, *nodeuuid, *mdcuuid;
- int rc, i, first_log = 0;
+ int rc, i = 0;//, first_log = 0;
char mdt_index[9];
struct temp_comp comp;
ENTRY;