From 9f1f7c4040440b8bab6130d30e9ecd1e8b803657 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Mon, 31 Jan 2011 14:32:08 +0100 Subject: [PATCH] b=23729 cancel_lru_locks not working cause some locks are still in cache from mmap files Fix sanity-benchmark.sh to remove files after fsx otherwise client keeps locks acquired for mmap files in cache. --- lustre/tests/sanity-benchmark.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity-benchmark.sh b/lustre/tests/sanity-benchmark.sh index 7bc3a03..4c19a53 100644 --- a/lustre/tests/sanity-benchmark.sh +++ b/lustre/tests/sanity-benchmark.sh @@ -194,7 +194,8 @@ test_fsx() { $LFS setstripe -c -1 $testfile echo Using FSX_SEED=$FSX_SEED FSX_SIZE=$FSX_SIZE FSX_COUNT=$FSX_COUNT fsx -c 50 -p 1000 -S $FSX_SEED -P $TMP -l $FSX_SIZE \ - -N $(($FSX_COUNT * 100)) $DIR/fsxfile + -N $(($FSX_COUNT * 100)) $testfile + rm -f $testfile $DEBUG_ON } run_test fsx "fsx" -- 1.8.3.1