X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmgs%2Fmgs_llog.c;h=00518d2fcea4974998b547b5909b2abf3b3b76fb;hp=a710617d1e8eae8e86d20ae7b8816b0d3ce2223f;hb=e4a7affffc1bb839c4e13239e4774ea3b2ccb1bb;hpb=88214c09c3660d6d2a7e583252b14084049f5eae diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index a710617..00518d2 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -2045,6 +2045,20 @@ static int mgs_write_log_sys(struct obd_device *obd, struct fs_db *fsdb, rc = mgs_write_log_direct_all(obd, fsdb, mti, *tmp == '\0' ? NULL : lcfg, mti->mti_fsname, sys); + if (rc == 0 && *tmp != '\0') { + switch (cmd) { + case LCFG_SET_TIMEOUT: + if (!obd_timeout_set || lcfg->lcfg_num > obd_timeout) + class_process_config(lcfg); + break; + case LCFG_SET_LDLM_TIMEOUT: + if (!ldlm_timeout_set || lcfg->lcfg_num > ldlm_timeout) + class_process_config(lcfg); + break; + default: + break; + } + } *ptr = sep; lustre_cfg_free(lcfg); return rc;