From 924218e5b6e320ce8ebd8720a340518cc9f8d09b Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 7 Apr 2011 21:41:29 +0800 Subject: [PATCH] LU-197 Remove files after fsx in sanity-benchmark.sh to drop locks. commit 9f1f7c4040440b8bab6130d30e9ecd1e8b803657 Date: Mon Jan 31 14:32:08 2011 +0100 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. a=Johann Lombardi Signed-off-by: YangSheng Change-Id: Ib9683b5e8fce550259a1c3bfd617aa04c2f3abdc Reviewed-on: http://review.whamcloud.com/408 Tested-by: Hudson Reviewed-by: Yu Jian Reviewed-by: Johann Lombardi Reviewed-by: Oleg Drokin --- 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 d64ec23..e3dd8e6 100644 --- a/lustre/tests/sanity-benchmark.sh +++ b/lustre/tests/sanity-benchmark.sh @@ -195,7 +195,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