]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: add test to reproduce bmap btree corruption.
authorDave Chinner <dchinner@redhat.com>
Mon, 14 Feb 2011 00:20:00 +0000 (11:20 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Feb 2011 00:20:00 +0000 (11:20 +1100)
commit22b5fa843fdc20496170d3cfdeef7af7ef37ac6c
tree64f58b16310e8e507644f25fee2f658f19c7791c
parent91fb9912f19e6ebf01033b624d1b9d7baf9b1da7
xfstests: add test to reproduce bmap btree corruption.

The problem was reprted here:

https://bugzilla.redhat.com/show_bug.cgi?id=626244

With the simple test case:

# mkfs.xfs -f -d agsize=16m,size=50g <dev>
# mount <dev> /mnt
# xfs_io -f -c 'resvsp 0 40G' /mnt/foo

Triggering the problem. Turn this into a new xfsqa test so that we
exercise the problem code and prevent future regressions.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
250 [new file with mode: 0644]
group