2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018 Oracle. All Rights Reserved.
7 # Long-soak buffered fsx test
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
28 # remove previous $seqres.full before test
31 # real QA test starts here
33 # Modify as appropriate.
37 # Run fsx for a million ops or more
38 nr_ops=$((1000000 * TIME_FACTOR))
39 op_sz=$((128000 * LOAD_FACTOR))
40 file_sz=$((600000 * LOAD_FACTOR))
41 fsx_file=$TEST_DIR/fsx.$seq
44 fsx_args+=(-N $nr_ops)
45 fsx_args+=(-p $((nr_ops / 100)))
47 fsx_args+=(-l $file_sz)
49 run_fsx "${fsx_args[@]}" | sed -e '/^fsx.*/d'
52 echo Silence is golden