2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2014 Fujitsu. All Rights Reserved.
5 # FS QA Test No. ext4/003
7 # Regression test for commit:
8 # b5b6077 ext4: fix wrong assert in ext4_mb_normalize_request()
9 # This testcase checks whether this bug has been fixed.
12 seqres=$RESULT_DIR/$seq
13 echo "QA output created by $seq"
15 trap "_cleanup; exit \$status" 0 1 2 3 15
22 # get standard environment, filters and checks
26 # real QA test starts here
31 _require_scratch_ext4_feature "bigalloc"
35 $MKFS_EXT4_PROG -F -O bigalloc -C 65536 -g 256 $SCRATCH_DEV 512m \
39 $XFS_IO_PROG -f -c "pwrite 0 256m -b 1M" $SCRATCH_MNT/testfile 2>&1 | \