From: tappro Date: Fri, 12 May 2006 09:30:39 +0000 (+0000) Subject: configure old MDC for MDS X-Git-Tag: v1_8_0_110~486^2~1831 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=845e848a445bca43dd66a13269126bd385fcb132;p=fs%2Flustre-release.git configure old MDC for MDS --- diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index 59d96a0..9cba6f5 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1189,11 +1189,12 @@ static int mgs_write_log_mdc_to_mds(struct obd_device *obd, struct fs_db *fsdb, libcfs_nid2str(mti->mti_nids[i])); rc = record_add_uuid(obd, llh, mti->mti_nids[i], nodeuuid); } - rc = record_attach(obd, llh, mdcname, LUSTRE_MDC0_NAME, mdcuuid); + rc = record_attach(obd, llh, mdcname, LUSTRE_MDC_NAME, mdtuuid); rc = record_setup(obd, llh, mdcname, mti->mti_uuid, nodeuuid, 0, 0); rc = mgs_write_log_failnids(obd, mti, llh, mdcname); snprintf(index, sizeof(index), "%d", idx); - rc = record_mdc_add(obd, llh, logname, mdcname, index, "1"); + rc = record_mdc_add(obd, llh, logname, mti->mti_uuid /*mdcname*/, + index, "1"); rc = record_marker(obd, llh, fsdb, CM_END, mti->mti_svname, "add mdc"); rc = record_end_log(obd, &llh);