]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests 285: Fix test for ext4 in some configurations
authorJan Kara <jack@suse.cz>
Mon, 3 Jun 2013 18:40:36 +0000 (13:40 -0500)
committerRich Johnston <rjohnston@sgi.com>
Mon, 3 Jun 2013 18:40:36 +0000 (13:40 -0500)
commitce9d1cdd618eaea256356c81cfd579039169b999
tree7f2e523f808d7b3a45581d65e4047f77e58fe291
parent3e889c6735117e0906c339ffae0dbc17a4df27fb
xfstests 285: Fix test for ext4 in some configurations

In some configurations (e.g. 1 KB block size), ext4 can decide it is
better to zero out several blocks rather than splitting unwritten
extent. This changes results SEEK_HOLE / SEEK_DATA returns and thus the
test fails. Fix the problem by disabling the feature for this test.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/285