[PATCH 4/4] xfsqa: add simple xfs_fsr test

Christoph Hellwig hch at infradead.org
Tue Jan 12 03:50:17 CST 2010


On Tue, Jan 12, 2010 at 03:41:09PM +1100, Dave Chinner wrote:
> 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.

Looks good,

and having it after 200+ testcases also means it should have at least a
bit of work to do.


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list