]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test zero range crossing isize within single block
authorLukas Czerner <lczerner@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)
commit6b992d5f16d7595caf15ccbc9ccaefd304e58283
treedc547d9d82f0cf98ef14ea3c379e6fbe94829719
parentfe272bc1c514a45027f2aea88c7d0495007c3112
generic: test zero range crossing isize within single block

Exercise the situation that cause ext4 to BUG_ON() when we use
zero range to zero a range which starts within the isize but ends
past the isize but still in the same block. This particular problem
has only been seen on systems with page_size > block_size.

This tests exercises the problem fixed in kernel with commit
0f2af21aae11972fa924374ddcf52e88347cf5a8
ext4: Allocate entire range in zero range

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/096 [new file with mode: 0755]
tests/generic/096.out [new file with mode: 0644]
tests/generic/group