From 57e23803c837de7f412422aa85ee9c8dfadc0edb Mon Sep 17 00:00:00 2001 From: huanghua Date: Sun, 9 Nov 2008 13:16:58 +0000 Subject: [PATCH] Branch b1_8_gate b=17602 i=tappro i=yury.umanets use 2.0 compatible MDT config for 1.8 mds --- lustre/mgs/mgs_llog.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index d96c3e1..58bd18b 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1090,8 +1090,10 @@ static int mgs_write_log_mdt(struct obd_device *obd, struct fs_db *fsdb, rc = record_attach(obd, llh, mti->mti_svname, LUSTRE_MDS_NAME, mti->mti_uuid); rc = record_setup(obd, llh, mti->mti_svname, - "dev"/*ignored*/, "type"/*ignored*/, - mti->mti_svname, 0/*options*/); + mti->mti_uuid /* Ignored. Compatible with future. */, + "0" /* MDT Index, default to zero. */, + mti->mti_svname, + 0 /* options */); rc = record_marker(obd, llh, fsdb, CM_END, mti->mti_svname, "add mdt"); rc = record_end_log(obd, &llh); -- 1.8.3.1