2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018 Oracle. All Rights Reserved.
7 # Long-soak directio fsx test
10 _begin_fstest soak long_rw
12 # Import common functions.
15 # real QA test starts here
17 # Modify as appropriate.
22 # Run fsx for a million ops or more
23 nr_ops=$((1000000 * TIME_FACTOR))
24 op_sz=$((128000 * LOAD_FACTOR))
25 file_sz=$((600000 * LOAD_FACTOR))
26 fsx_file=$TEST_DIR/fsx.$seq
27 min_dio_sz=$(_min_dio_alignment)
30 fsx_args+=(-N $nr_ops)
31 fsx_args+=(-p $((nr_ops / 100)))
33 fsx_args+=(-l $file_sz)
34 fsx_args+=(-r $min_dio_sz)
35 fsx_args+=(-t $min_dio_sz)
36 fsx_args+=(-w $min_dio_sz)
39 run_fsx "${fsx_args[@]}" | sed -e '/^fsx.*/d'
42 echo Silence is golden