]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
add simple xfs_fsr test
authorDave Chinner <david@fromorbit.com>
Tue, 12 Jan 2010 21:51:47 +0000 (22:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Jan 2010 21:51:47 +0000 (22:51 +0100)
commita015bad3949e93181acdbd3face98cdda2b4484e
tree9d2d2568e23530482bcb021af56be6342cf78f23
parentb9bf1823143269d8f2476b2b07f445123586d1b3
add simple xfs_fsr test

We have very little fsr test coverage in the test suite right now.
042 is the only test that runs it, and it only defragments a single
file.

Improve the coverage by simply running xfs_fsr of the test
filesystem. This gives xfs_fsr a wide variety of inodes to try to
defragment. A simple test like this would have tripped over the
attr2 fork offset problems in the swap extents ioctl long ago
thanks to the varied nature of inodes the test suite leaves around
in this filesystem.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
222 [new file with mode: 0644]
222.out [new file with mode: 0644]
group