From: Alex Zhuravlev Date: Tue, 25 May 2021 04:13:55 +0000 (+0300) Subject: LU-14704 tests: disable opencache for sanity/29 X-Git-Tag: 2.14.57~106 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F43777%2F14;p=fs%2Flustre-release.git LU-14704 tests: disable opencache for sanity/29 otherwise lock counting is not quite correct Fixes: 41d99c4902 ("LU-10948 llite: Introduce inode open heat counter") Test-Parameters: trivial Signed-off-by: Alex Zhuravlev Change-Id: Ia73e8aa4a16b7ced29490d41c8eac4ee839a3406 Reviewed-on: https://review.whamcloud.com/43777 Tested-by: jenkins Reviewed-by: James Nunez Reviewed-by: Andreas Dilger Tested-by: Maloo --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 6930566..3039059 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3390,6 +3390,11 @@ run_test 28 "create/mknod/mkdir with bad file types ============" test_29() { [ $PARALLEL == "yes" ] && skip "skip parallel run" + [ $MDS1_VERSION -ge $(version_code 2.14.51) ] && { + disable_opencache + stack_trap "restore_opencache" + } + sync; sleep 1; sync # flush out any dirty pages from previous tests cancel_lru_locks test_mkdir $DIR/d29