ext4: regression test for wrong assert in ext4_mb_normalize_request()
authorXiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Wed, 13 Aug 2014 01:15:15 +0000 (11:15 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:15:15 +0000 (11:15 +1000)
commit313db9fe0679f64f145423dacbcab8b6a2b9b6a9
tree90d866b8eacc365d84959a50f80c58c8dac6a59b
parent83ef157defa488fd7f4d64f5f0791c05853a5dab
ext4: regression test for wrong assert in ext4_mb_normalize_request()

Regression test for:
    b5b6077 ext4: fix wrong assert in ext4_mb_normalize_request()

Meanwhile make minor changes to _scratch_mkfs_ext4() in common/rc,
_scratch_mkfs_ext4() might fail due to conflicts between being passed options
and MKFS_OPTIONS. We fix this by ignoring MKFS_OPTIONS if it fails the first
time(see _scratch_mkfs_xfs()), as suggested by Lukas Czerner.

[dchinner: converted to use xfs_io]

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/ext4/003 [new file with mode: 0755]
tests/ext4/003.out [new file with mode: 0644]
tests/ext4/group