From 57719d0c8833b8a8a8b6516d3bd4f2ad2b226285 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Tue, 6 Mar 2018 13:25:50 -0600 Subject: [PATCH] LU-10680 mdd: disable changelog garbage collection by default Changelog garbage collection has introduced some instability so disable it by default. Signed-off-by: John L. Hammond Change-Id: I708198d76af060cb796de89266ee74a968f92ac1 Reviewed-on: https://review.whamcloud.com/31552 Reviewed-by: James Simmons Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/mdd/mdd_device.c | 2 +- lustre/tests/sanity.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/mdd/mdd_device.c b/lustre/mdd/mdd_device.c index a347c5a..91ad2bd 100644 --- a/lustre/mdd/mdd_device.c +++ b/lustre/mdd/mdd_device.c @@ -145,7 +145,7 @@ static int mdd_init0(const struct lu_env *env, struct mdd_device *mdd, /* sync permission changes */ mdd->mdd_sync_permission = 1; /* enable changelog garbage collection */ - mdd->mdd_changelog_gc = 1; + mdd->mdd_changelog_gc = 0; /* with a significant amount of idle time */ mdd->mdd_changelog_max_idle_time = CHLOG_MAX_IDLE_TIME; /* or a significant amount of late indexes */ diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 623c72b..c83bd97 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -12,8 +12,8 @@ ONLY=${ONLY:-"$*"} ALWAYS_EXCEPT="$SANITY_EXCEPT 42a 42b 42c" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! -# skipped tests: LU-8411 LU-9096 LU-9054 -ALWAYS_EXCEPT=" 407 253 312 $ALWAYS_EXCEPT" +# skipped tests: LU-8411 LU-9096 LU-9054 LU-10680 .. +ALWAYS_EXCEPT=" 407 253 312 160f 160g $ALWAYS_EXCEPT" # Check Grants after these tests GRANT_CHECK_LIST="$GRANT_CHECK_LIST 42a 42b 42c 42d 42e 63a 63b 64a 64b 64c" -- 1.8.3.1