struct lustre_mount_data *lmd = sbi->ll_lmd;
char *profile = lmd->lmd_profile, *name = NULL;
struct config_llog_instance cfg;
struct lustre_mount_data *lmd = sbi->ll_lmd;
char *profile = lmd->lmd_profile, *name = NULL;
struct config_llog_instance cfg;
if (clean) {
version = sbi->ll_config_version - 1;
sprintf(name, "%s-clean-%d", profile, version);
if (clean) {
version = sbi->ll_config_version - 1;
sprintf(name, "%s-clean-%d", profile, version);
version = sbi->ll_config_version + 1;
sprintf(name, "%s-%d", profile, version);
}
version = sbi->ll_config_version + 1;
sprintf(name, "%s-%d", profile, version);
}
CWARN("Applying configuration log %s\n", name);
ctxt = llog_get_context(&sbi->ll_md_exp->exp_obd->obd_llogs,
LLOG_CONFIG_REPL_CTXT);
rc = class_config_process_llog(ctxt, name, &cfg);
CWARN("Applying configuration log %s\n", name);
ctxt = llog_get_context(&sbi->ll_md_exp->exp_obd->obd_llogs,
LLOG_CONFIG_REPL_CTXT);
rc = class_config_process_llog(ctxt, name, &cfg);
CWARN("Finished applying configuration log %s: %d\n", name, rc);
if (rc == 0 && clean == 0) {
CWARN("Finished applying configuration log %s: %d\n", name, rc);
if (rc == 0 && clean == 0) {