From: Hongchao Zhang Date: Mon, 23 Nov 2015 22:22:09 +0000 (+0800) Subject: LU-7649 mgs: skip single OST conf update X-Git-Tag: 2.7.66~20 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f52e7ac294e9091b1ef8e9f8151bd47625be5d8d;p=fs%2Flustre-release.git LU-7649 mgs: skip single OST conf update If some OST is marked to regenerate its configuration by "tunefs.lustre --writeconf", the newly added OSC entry for this OST should be marked as "skip" just as the new OSP entry in MDT(LOD) configuration. Change-Id: I1f680cb81a4c77fcf48ab2df441c821db5d456b5 Signed-off-by: Hongchao Zhang Reviewed-on: http://review.whamcloud.com/17924 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Lai Siyao Reviewed-by: Niu Yawei Reviewed-by: Oleg Drokin --- diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index e48f888..6ba85ca 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -2579,7 +2579,7 @@ out_end: GOTO(out_free, rc); } rc = mgs_write_log_osc_to_lov(env, mgs, fsdb, mti, logname, "", - fsdb->fsdb_clilov, LUSTRE_SP_CLI, 0); + fsdb->fsdb_clilov, LUSTRE_SP_CLI, flags); out_free: name_destroy(&logname); RETURN(rc);