]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
[PATCH] xfstests: add another fallocate test to 214
authorEric Sandeen <sandeen@redhat.com>
Wed, 6 Jan 2010 19:00:18 +0000 (13:00 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 6 Jan 2010 19:00:18 +0000 (13:00 -0600)
commit3933846992653ce93ec4b3e013b4d339c1465d9f
treef38fc0dd56a361c58b397091c828af02e21b624c
parentfed5346d92d245951c0b2f01f75af370cc3b57d3
[PATCH] xfstests: add another fallocate test to 214

ext4 had a regression where it double-accounted used blocks
if you fallocated on top of delalloc blocks.  Ted sent a
c program to exploit it (see "fsstress-induced corruption reproduced"
on linux-ext4 on 12/31/2009) and it's trivial to do the same thing
within the xfstests framework using xfs_io.

This also changes the handcrafted xfs_io tests to use the
_require_xfs_io_falloc helper, not sure how that got missed.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
214