2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat, Inc. All Rights Reserved.
7 # Read from a sparse file immedialy after filling a hole to test for races
8 # in unwritten extent conversion.
11 _begin_fstest auto aio rw
13 # Override the default cleanup function.
17 rm -f $TEST_DIR/tst-aio-dio-sparse-unwritten
20 # Import common functions.
27 _require_aiodio aio-dio-hole-filling-race
29 echo "Silence is golden"
31 for i in `seq 1 500`; do
32 $AIO_TEST $TEST_DIR/tst-aio-dio-hole-filling-race || break