]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4: test migration to non-extent based file format
authorEryu Guan <eguan@redhat.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
commit9f7d2a526462952eb48361cae021d143f79fe738
tree42760789090311247297de1d0934e01b74206288
parent67f0524ceb054b088ae6df8db1d92c7957e87b75
ext4: test migration to non-extent based file format

On unpatched kernel, converting file with a hole at the beginning to
non-extent based format results in ext4 i_blocks corruption. Add a new
regression test case for it.

These two commits fixed the corruption:
ext4: be more strict when migrating to non-extent based file
ext4: correctly migrate a file with a hole at the beginning

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/config
tests/ext4/005 [new file with mode: 0755]
tests/ext4/group