From 0e4ce3ad1d80e78d16a01310a714eec0fe2ab0f8 Mon Sep 17 00:00:00 2001 From: Vitaly Fertman Date: Tue, 21 Dec 2010 16:04:22 +0300 Subject: [PATCH] b=24128 mgs_write_log_ost() should not update client's log o=Lai Siyao i=adilger when an OST is set to an existed index, don't update client logs. otherwise client will have duplicate OSC logs to the same OST. --- lustre/mgs/mgs_llog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index 45c098e..643b775 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1846,7 +1846,7 @@ static int mgs_write_log_ost(struct obd_device *obd, struct fs_db *fsdb, fsdb->fsdb_clilmv); } mgs_write_log_osc_to_lov(obd, fsdb, mti, logname, "", - fsdb->fsdb_clilov, LUSTRE_SP_CLI, 0); + fsdb->fsdb_clilov, LUSTRE_SP_CLI, flags); name_destroy(&logname); RETURN(rc); } -- 1.8.3.1