From ff46f23edb2e4b6d30c790ef6c81600d1cd6399d Mon Sep 17 00:00:00 2001 From: Yang Sheng Date: Tue, 5 Jan 2016 23:18:04 +0800 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 1.8.3.1