From: Yang Sheng Date: Tue, 5 Jan 2016 15:18:04 +0000 (+0800) Subject: LU-7151 tests: fix sanity test_205 on SLES12 X-Git-Tag: 2.8.51~61 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ff46f23edb2e4b6d30c790ef6c81600d1cd6399d LU-7151 tests: fix sanity test_205 on SLES12 Invoke cancel_lru_locks to avoid read from cache. Signed-off-by: Yang Sheng Change-Id: I46c96629fbba8439439b653ef596c3fdbc96e80c Reviewed-on: http://review.whamcloud.com/17826 Tested-by: Jenkins Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index f700c07..61d6591 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -11791,6 +11791,7 @@ test_205() { # Job stats cmd="dd if=/dev/zero of=$DIR/$tfile bs=1M count=1 oflag=sync" verify_jobstats "$cmd" "ost1" # read + cancel_lru_locks osc cmd="dd if=$DIR/$tfile of=/dev/null bs=1M count=1 iflag=direct" verify_jobstats "$cmd" "ost1" # truncate