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 <ys@whamcloud.com>
Change-Id: Ib9683b5e8fce550259a1c3bfd617aa04c2f3abdc
Reviewed-on: http://review.whamcloud.com/408
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
$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"