generic: test MADV_POPULATE_READ with IO errors
[xfstests-dev.git] / tests / generic / 263
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 263
6 #
7 # fsx exercising direct IO vs sub-block buffered I/O
8 #
9 . ./common/preamble
10 _begin_fstest rw auto quick
11
12 # Import common functions.
13 . ./common/filter
14
15 # real QA test starts here
16 _supported_fs generic
17 _require_test
18 _require_odirect
19
20 psize=`$here/src/feature -s`
21 bsize=`_min_dio_alignment $TEST_DEV`
22
23 run_fsx -N 10000  -o 8192   -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
24 run_fsx -N 10000  -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
25
26 status=0
27 exit