generic: test for file loss after mix of rename, fsync and inode eviction
[xfstests-dev.git] / tests / generic / 241
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 241
6 #
7 # Run parallel dbench & check for filesystem corruption
8 # This corrupted ext4 inode bitmaps due to races at one point
9 #
10 #
11 . ./common/preamble
12 _begin_fstest auto
13
14 # Import common functions.
15 . ./common/filter
16
17 _supported_fs generic
18 _require_test
19
20 [ "$DBENCH_PROG" = "" ] && _notrun "dbench not found"
21
22 echo "Silence is golden."
23
24 # real QA test starts here
25
26 rm -rf $TEST_DIR/dbench
27 mkdir $TEST_DIR/dbench
28
29 dbench -t 60 -D $TEST_DIR/dbench 4 >> $seqres.full
30
31 status=$?
32 exit