Skip to content
Snippets Groups Projects
Commit dc1bb083 authored by huanghua's avatar huanghua
Browse files

Branch b1_6

b=17602
i=yury.umanets
i=tappro

use 1.8/2.0 compatible MDT config for 1.6 mds, easy to upgrade.
parent ee78b870
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment