2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2020 Red Hat Inc. All Rights Reserved.
7 # IO_URING soak buffered fsx test, copy from generic/522 but reduce the number
8 # fsx ops to limit the testing time to be an auto group test.
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
16 status=1 # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
25 # get standard environment, filters and checks
29 # remove previous $seqres.full before test
32 # real QA test starts here
34 # Modify as appropriate.
39 # Run fsx for 100 thousand ops or more
40 nr_ops=$((100000 * TIME_FACTOR))
41 op_sz=$((128000 * LOAD_FACTOR))
42 file_sz=$((600000 * LOAD_FACTOR))
43 fsx_file=$TEST_DIR/fsx.$seq
48 fsx_args+=(-N $nr_ops)
49 fsx_args+=(-p $((nr_ops / 100)))
51 fsx_args+=(-l $file_sz)
53 run_fsx "${fsx_args[@]}" | sed -e '/^fsx.*/d'
56 echo "Silence is golden"